diff options
author | Thomas Letan <lthms@soap.coffee> | 2021-04-05 19:45:56 +0200 |
---|---|---|
committer | Thomas Letan <lthms@soap.coffee> | 2021-04-05 19:45:56 +0200 |
commit | e34043e048fa72b586e847fe99c6ae49cd86b264 (patch) | |
tree | ca6a48f5ba0d47b6d44d0e5077db2ff88665ee3e | |
parent | Give a more verbose output to the wc command (diff) |
Update pre-commit hook for latest rustfmt releases
It looks like rustfmt does not support being called from a virtual
workspace anymore, so we actually call it twice, one for each package
of the workspace.
-rwxr-xr-x | hooks/pre-commit | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hooks/pre-commit b/hooks/pre-commit index 5732760..82db57e 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -1,3 +1,4 @@ #!/bin/bash -cargo +nightly fmt -- --check
\ No newline at end of file +cargo +nightly fmt -p libceltchar -- --check +cargo +nightly fmt -p celtchar -- --check |