-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: exports env on context #12
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12 +/- ##
=======================================
+ Coverage 96.98% 97% +0.01%
=======================================
Files 3 3
Lines 166 167 +1
=======================================
+ Hits 161 162 +1
Misses 5 5
Continue to review full report at Codecov.
|
@@ -131,6 +133,7 @@ class CommonBin { | |||
* @protected | |||
*/ | |||
errorHandler(err) { | |||
console.error(chalk.red(`⚠️ ${err.name}: ${err.message}`)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@popomore 还是需要打印一下 error name 和 message 的,要不然连 yargs 参数检验失败都看不出来。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好
2.4.0 |
No description provided.