Skip to content

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
index.js Outdated
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.

index.js Outdated
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

4 participants