Skip to content

Commit

Permalink
fix bin.js DegitError output
Browse files Browse the repository at this point in the history
  • Loading branch information
yuler committed Jun 11, 2019
1 parent a2f17e1 commit 3c4141b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if (args.help || !src) {

// })
.catch(err => {
console.error(chalk.red(`! ${err.message}`));
console.error(chalk.red(`! ${err.message.replace('options', '--')}`));
process.exit(1);
});
}

0 comments on commit 3c4141b

Please sign in to comment.