Update lint.yml
This commit is contained in:
parent
ceb9a4654d
commit
8af62c7e33
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue