We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19a025b commit 786c0e3Copy full SHA for 786c0e3
packages/fuels-code-gen/src/utils/source.rs
@@ -64,15 +64,14 @@ impl Source {
64
65
/// Retrieves the source JSON of the artifact this will either read the JSON
66
/// from the file system or retrieve a contract ABI from the network
67
- /// dependending on the source type.
+ /// depending on the source type.
68
pub fn get(&self) -> Result<String> {
69
match self {
70
Source::Local(path) => get_local_contract(path),
71
Source::String(abi) => Ok(abi.clone()),
72
}
73
74
75
- /// If the abigen is given a path, will return it here.
76
pub fn path(&self) -> Option<PathBuf> {
77
78
Source::Local(path) => Some(path.clone()),
0 commit comments