mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
JavaScript: Eliminate source of false positives in UnsafeShellCommandConstruction.
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user