(err)
| 372 | } |
| 373 | |
| 374 | const getExitCodeFromError = (err) => { |
| 375 | if (typeof err?.errno === 'number') { |
| 376 | return err.errno |
| 377 | } else if (typeof err?.code === 'number') { |
| 378 | return err.code |
| 379 | } |
| 380 | } |
| 381 | |
| 382 | const getError = (err, { npm, command, pkg }) => { |
| 383 | // if we got a command that just shells out to something else, then it will presumably print its own errors and exit with a proper status code if there's a problem. |
no outgoing calls
no test coverage detected
searching dependent graphs…