Skip to content
Myr

Remove dead code related to exit code names (#223)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by ehmicky · committed by Sindre Sorhus · parent c0d058c · Browse files · 1 file+1 added−13 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−13 removed

  • other:+1 added−13 removed

1 file+1 added−13 removed

modified:index.js+1 added-13 removed
237 unmodified lines
238 if (signal) {239 return `was killed with ${signal}`;240 }241242 if (exitCodeName !== undefined && exitCode !== undefined) {243 return `failed with exit code ${exitCode} (${exitCodeName})`;242 return `failed with exit code ${exitCode} (${exitCodeName})`;244 }245246 if (exitCodeName !== undefined) {247 return `failed with exit code ${exitCodeName}`;248 }249250 if (exitCode !== undefined) {251 return `failed with exit code ${exitCode}`;252 }253254 return 'failed';243}244245function joinCommand(command, args) {246 let joinedCommand = command;
241 unmodified lines