Merge pull request #47 from DaoCloud/fix-verify-fmt

Fix verify-fmt.sh
This commit is contained in:
github-actions[bot] 2022-01-10 08:31:21 +00:00 committed by GitHub
commit 4d3ccfafbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
#!/usr/bin/env bash
cp $1 $1.bak
./hack/fmt.sh $1
./hack/fmt.sh $1.bak
diff -c $1 $1.bak
rm $1.bak
diff -c $1 $1.bak && rm $1.bak