Skip to content

Commit

Permalink
fix(build): An error when running with --lint (#1174)
Browse files Browse the repository at this point in the history
Closes #1166

Co-authored-by: Georgiy Komarov <georgiy@parity.io>
  • Loading branch information
jubnzv and Georgiy Komarov authored Jun 23, 2023
1 parent 6304a68 commit e9bce2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/build/src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ where
let mut cmd_args = Vec::new();

cmd_args.push(command);
cmd_args.push("--color=always");
if command != "dylint" {
cmd_args.push("--color=always");
}

match verbosity {
Verbosity::Quiet => cmd_args.push("--quiet"),
Expand Down

0 comments on commit e9bce2b

Please sign in to comment.