-
Notifications
You must be signed in to change notification settings - Fork 70
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
2.0 rc #257
Conversation
- tests pass - config object is now copied during merge - TODO migrate motd and validation schemas
- after and onceAny now support both Promise and handler callbacks - fixed parameter passing in after method - added unit tests
if (!events) | ||
return | ||
if (!Array.isArray(events)) | ||
onceAny (events, handler = NOOP) { |
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.
This will not work for node < 6 :( default value are comping with node 6
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.
yep, tests are failing, I'll fix.
if (!app.pkg) { | ||
throw new lib.Errors.PackageNotDefinedError() | ||
} | ||
if (!app.api && !(app && app.api)) { |
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.
One seems useless here right ?
- config.env is set to the (string) value of NODE_ENV
Can we add #236 to this PR? |
We should also look at #216 for the RC. |
Description
2.0 release candidate branch
Issues