Skip to content

Commit

Permalink
change no equal 0 to more than 0
Browse files Browse the repository at this point in the history
Signed-off-by: LiZhenCheng9527 <[email protected]>
  • Loading branch information
LiZhenCheng9527 committed Jan 16, 2024
1 parent 87a0e1b commit 1316504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ jobs:
# if restricted > 0, CI will report an error.
run: |
result=$(make lint-licenses | awk '{print $7}')
if [ $result -ne 0 ]; then
exit 1
if [ $result -gt 0 ]; then
exit 1
fi
test:
name: Unit test
Expand Down

0 comments on commit 1316504

Please sign in to comment.