diff --git a/bin/next-build-tools.js b/bin/next-build-tools.js index bcf074dc..fd4b87d5 100755 --- a/bin/next-build-tools.js +++ b/bin/next-build-tools.js @@ -84,8 +84,8 @@ program .action(function(test, options) { nightwatch({ test: test, - env: opts.env, - config: opts.config + env: options.env, + config: options.config }) .catch(exit);