Update lint.yml

This commit is contained in:
Rongjian Zhang
2020-04-16 11:56:57 +08:00
committed by GitHub
parent ceb9a4654d
commit 8af62c7e33

View File

@@ -12,9 +12,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: pub get
- run: \
output=$(dartfmt --dry-run lib/**/*.dart)
if [ -z $output]
then exit 0
else
exit 1
- run: |
output=$(dartfmt --dry-run lib/**/*.dart)
if [ -z $output]
then exit 0
else
exit 1