JavaScript: Eliminate source of false positives in UnsafeShellCommandConstruction.

This commit is contained in:
Max Schaefer
2020-10-12 14:52:23 +01:00
parent cd33d358aa
commit 1c04c07f07
2 changed files with 11 additions and 1 deletions

View File

@@ -333,5 +333,5 @@ function id(x) {
module.exports.id = id;
module.exports.unproblematic = function() {
cp.exec("rm -rf " + id("test")); // OK [INCONSISTENCY]
cp.exec("rm -rf " + id("test")); // OK
};