Skip to content

Commit

Permalink
Fix deprecated extension check (#130)
Browse files Browse the repository at this point in the history
The function call was passing the wrong parameter, so the deprecated
check always returned false.
  • Loading branch information
gligneul authored Jan 7, 2025
1 parent 8e1c0a9 commit d7535f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ fn main() -> Result<()> {

// see if custom extension exists and is not a deprecated extension
let custom = format!("cargo-stylus-{arg}");
if sys::command_exists(&custom) && !is_deprecated_extension(&arg) {
if sys::command_exists(&custom) && !is_deprecated_extension(&custom) {
let mut command = sys::new_command(&custom);
command.arg(arg).args(args);

Expand Down

0 comments on commit d7535f6

Please sign in to comment.