Skip to content

Commit

Permalink
Partial restructuring of api loading and initializing; added .not.assert
Browse files Browse the repository at this point in the history
  • Loading branch information
beatfactor committed Oct 26, 2019
1 parent 51a34ed commit 0d3ceb5
Show file tree
Hide file tree
Showing 219 changed files with 4,378 additions and 3,881 deletions.
2 changes: 1 addition & 1 deletion bin/nightwatch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

const semver = require('semver');
const Logger = require('../lib/util/logger.js');
const {Logger} = require('../lib/utils');
const requiredVersion = require('../package.json').engines.node;

function checkNodeVersion (wanted, id) {
Expand Down
4 changes: 2 additions & 2 deletions bin/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Module dependencies
*/
const Nightwatch = require('../lib/index.js');
const Logger = require('../lib/util/logger.js');
const {Logger} = require('../lib/utils');

try {
Nightwatch.cli(function(argv) {
Expand Down Expand Up @@ -31,4 +31,4 @@ try {
err.message = 'An error occurred while trying to start the Nightwatch Runner: ' + err.message;
Logger.error(err);
process.exit(2);
}
}
Loading

0 comments on commit 0d3ceb5

Please sign in to comment.