mirror of
https://github.com/github/codeql.git
synced 2025-12-19 02:13:17 +01:00
11 lines
357 B
JavaScript
11 lines
357 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
|
|
};
|
|
|
|
module.exports.amd = require("./amd.js"); |