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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

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