Skip to content

Commit 5690430

Browse files
committed
Attempt to fix audit error code when 0 vulns found
1 parent 6a74f52 commit 5690430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
cache: yarn
4444

4545
- name: yarn audit
46-
run: yarn audit --level critical [[ $? -ge 16 ]] && exit 1 || exit 0 # this last part is needed because yarn audit returns a non-0 code if any vulnerabilities are found
46+
run: yarn audit --level critical; [[ $? -ge 16 ]] && exit 1 || exit 0 # this last part is needed because yarn audit returns a non-0 code if any vulnerabilities are found
4747

4848
lint:
4949
name: Lint

0 commit comments

Comments
 (0)