mirror of
https://github.com/github/codeql.git
synced 2025-12-19 02:13:17 +01:00
9 lines
314 B
JavaScript
9 lines
314 B
JavaScript
var cp = require("child_process")
|
|
|
|
module.exports = function (name) {
|
|
cp.exec("rm -rf " + name); // NOT OK - functions exported as part of a submodule are also flagged.
|
|
};
|
|
|
|
module.exports.foo = function (name) {
|
|
cp.exec("rm -rf " + name); // NOT OK - this is being called explicitly from child_process-test.js
|
|
}; |