Commit fb9ffce
committed
test(regression): drop shell:true in percy-cli helper to clear Semgrep OSS alert
The nosemgrep comment suppressed spawn-shell-true for the workflow exit code,
but GitHub code-scanning (Semgrep OSS) still surfaced the suppressed finding as
an alert and failed the check. Eliminate it instead: npx resolves via PATH
without a shell (this suite is Linux-only) and args are passed as an array, so
shell:true was unnecessary and there is no command-injection surface.
PER-82501 parent f054912 commit fb9ffce
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | | - | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
0 commit comments