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

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