()
| 62 | } |
| 63 | |
| 64 | commandExitedWithCode () { |
| 65 | const code = 'COMMAND_EXITED_WITH_CODE' |
| 66 | const message = `[${code}] Command exited with exit code ${this.exitCode}` |
| 67 | const help = `fix: [${ISSUE_BY_CODE[code]}]` |
| 68 | |
| 69 | const e = new Error(message) |
| 70 | e.code = code |
| 71 | e.help = help |
| 72 | e.messageWithHelp = `${message}. ${help}` |
| 73 | return e |
| 74 | } |
| 75 | |
| 76 | commandSubstitutionFailed () { |
| 77 | const code = 'COMMAND_SUBSTITUTION_FAILED' |