(result)
| 102 | } |
| 103 | |
| 104 | function handleSignal(result) { |
| 105 | if (result.signal === 'SIGKILL') { |
| 106 | console.log( |
| 107 | `The script "${script}" failed because the process exited too early. ` + |
| 108 | 'This probably means the system ran out of memory or someone called ' + |
| 109 | '`kill -9` on the process.', |
| 110 | ) |
| 111 | } else if (result.signal === 'SIGTERM') { |
| 112 | console.log( |
| 113 | `The script "${script}" failed because the process exited too early. ` + |
| 114 | 'Someone might have called `kill` or `killall`, or the system could ' + |
| 115 | 'be shutting down.', |
| 116 | ) |
| 117 | } |
| 118 | process.exit(1) |
| 119 | } |
| 120 | |
| 121 | function attemptResolve(...resolveArgs) { |
| 122 | try { |
no outgoing calls
no test coverage detected
searching dependent graphs…