I guess no pre-commit formatting
parent
f2c95df625
commit
d2998bb252
|
@ -12,6 +12,4 @@ if [[ ${result} -ne 0 ]] ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cargo fmt --all
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
|
@ -38,7 +38,7 @@ We make use of `rustfmt` to format our code. You can install it by running `rust
|
||||||
|
|
||||||
#### Git Hooks
|
#### Git Hooks
|
||||||
|
|
||||||
We make use of the pre-commit git hook to run `rustfmt` and `clippy` before you commit your code. To set up the git hooks you can run the following command:
|
We make use of the pre-commit git hook to run `clippy` before you commit your code. To set up the git hooks you can run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git config core.hooksPath .githooks
|
git config core.hooksPath .githooks
|
||||||
|
|
Loading…
Reference in New Issue