mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
JS: Accept some alerts at the SystemCommandExecution location
This commit is contained in:
@@ -424,8 +424,8 @@ module.exports.shellOption = function (name) {
|
||||
spawn("rm", ["first", name], SPAWN_OPT); // $ Alert
|
||||
var arr = [];
|
||||
arr.push(name); // $ Alert
|
||||
spawn("rm", arr, SPAWN_OPT);
|
||||
spawn("rm", build("node", (name ? name + ':' : '') + '-'), SPAWN_OPT); // This is bad, but the alert location is down in `build`.
|
||||
spawn("rm", arr, SPAWN_OPT); // $ Alert
|
||||
spawn("rm", build("node", (name ? name + ':' : '') + '-'), SPAWN_OPT); // $ Alert
|
||||
}
|
||||
|
||||
function build(first, last) {
|
||||
|
||||
Reference in New Issue
Block a user