Skip to content

Commit

Permalink
Env parsing error renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
lrubasze committed Oct 25, 2024
1 parent 5bab95f commit f7b46f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion radix-clis/src/scrypto/cmd_build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ impl Build {
} else if v.len() == 2 {
compiler_builder.env(v[0], EnvironmentVariableAction::Set(v[1].into()));
} else {
return Err(Error::BuildError(BuildError::ProfileNameError).into());
return Err(Error::BuildError(BuildError::EnvParsingError).into());
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion radix-clis/src/utils/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub enum BuildError {

WorkspaceNotSupported,

ProfileNameError,
EnvParsingError,
}

#[derive(Debug)]
Expand Down

0 comments on commit f7b46f2

Please sign in to comment.