MCPcopy
hub / github.com/remy/nodemon / cleanup

Function cleanup

test/utils.js:81–96  ·  view source on GitHub ↗
(p, done, err)

Source from the content-addressed store, hash-verified

79}
80
81function cleanup(p, done, err) {
82 // as above
83 if (process.env.TRAVIS && err &&
84 err.message.indexOf('User defined signal 2') === 0) {
85 err = null;
86 }
87 if (p) {
88 p.once('exit', function () {
89 p = null;
90 done(err);
91 });
92 p.send('quit');
93 } else {
94 done(err);
95 }
96}
97
98function Plan(count, done) {
99 this.done = done;

Callers 5

runAndKillFunction · 0.85
ignoreFunction · 0.85
config.test.jsFile · 0.85

Calls

no outgoing calls

Tested by 2

runAndKillFunction · 0.68
ignoreFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…