Skip to content

Commit

Permalink
Fix parameters order
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-pelykh committed Oct 27, 2017
1 parent 2b5af79 commit 724e91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ class Builder {
if (this._factory) {
cli.handler = (argv) => {
const collection = this._factory.createCollection(argv.collection)
return declaration.handler(collection, argv)
return declaration.handler(argv, collection)
}
}

Expand Down

0 comments on commit 724e91f

Please sign in to comment.