Files
Erik Krogh Kristensen 67a5831ac0 update expected output
2021-03-18 13:59:44 +01:00

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
};