Skip to content

Commit

Permalink
rustfmt: remove --check
Browse files Browse the repository at this point in the history
Changing files is consistent with other formatting pre-commit hooks
  • Loading branch information
lunik1 committed Apr 3, 2023
1 parent 29dbe1e commit 28071bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/hooks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ in
{
name = "rustfmt";
description = "Format Rust code.";
entry = "${wrapper}/bin/cargo-fmt fmt ${cargoManifestPathArg} -- --check --color always";
entry = "${wrapper}/bin/cargo-fmt fmt ${cargoManifestPathArg} -- --color always";
files = "\\.rs$";
pass_filenames = false;
};
Expand Down

0 comments on commit 28071bf

Please sign in to comment.