Skip to content
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

Merged
merged 53 commits into from
Dec 27, 2016
Merged

2.0 rc #257

merged 53 commits into from
Dec 27, 2016

Conversation

tjwebb
Copy link
Member

@tjwebb tjwebb commented Nov 15, 2016

- 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) {
Copy link
Contributor

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

Copy link
Member Author

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)) {
Copy link
Contributor

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 ?

@scott-wyatt
Copy link
Member

Can we add #236 to this PR?

@scott-wyatt scott-wyatt mentioned this pull request Nov 27, 2016
@scott-wyatt
Copy link
Member

We should also look at #216 for the RC.

@tjwebb tjwebb merged commit 7bf03d6 into master Dec 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants