(p, done, err)
| 79 | } |
| 80 | |
| 81 | function 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 | |
| 98 | function Plan(count, done) { |
| 99 | this.done = done; |
no outgoing calls
searching dependent graphs…