mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Actually make npm audit more robust
In bash, && and || have the same priority.
This commit is contained in:
@@ -121,7 +121,7 @@ jobs:
|
||||
- run: npm ci
|
||||
working-directory: ./editors/code
|
||||
|
||||
- run: npm audit || sleep 10 && npm audit || sleep 30 && npm audit
|
||||
- run: npm audit || { sleep 10 && npm audit; } || { sleep 30 && npm audit; }
|
||||
working-directory: ./editors/code
|
||||
|
||||
- run: npm run lint
|
||||
|
||||
Reference in New Issue
Block a user