Remove --write-mode=diff from the cargo call in the CI

This commit is contained in:
Sylvestre Ledru
2021-02-11 23:02:11 +01:00
parent ad1aa06ac9
commit e6fedd81a8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ install:
test_script:
# we don't run the "test phase" when doing deploys
- if [%APPVEYOR_REPO_TAG%]==[false] (
cargo fmt --all -- --write-mode=diff &&
cargo fmt --all &&
cargo build --target %TARGET% &&
cargo build --target %TARGET% --release &&
cargo test --target %TARGET% &&
+1 -1
View File
@@ -4,7 +4,7 @@ set -ex
# TODO This is the "test phase", tweak it as you see fit
main() {
cargo fmt --all -- --write-mode=diff
cargo fmt --all
cross build --target $TARGET
cross build --target $TARGET --release