Skip to content

Commit

Permalink
Merge pull request cachix#269 from lunik1/rustfmt-no-check
Browse files Browse the repository at this point in the history
rustfmt: remove --check
  • Loading branch information
domenkozar authored Apr 4, 2023
2 parents 29dbe1e + 28071bf commit 3342d7c
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 3342d7c

Please sign in to comment.