Skip to content

Commit

Permalink
Merge branch 'fix-version-shown-on-cli' of https://github.com/kevinni…
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher J. Brody committed May 21, 2019
2 parents b88d399 + 78f9bca commit 74d1a1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/jasmine-node/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,8 @@ if (specFolders.length === 0) {
}

if (autotest) {

var patterns = ['**/*.js'];

if (extensions.indexOf("coffee") !== -1) {
patterns.push('**/*.coffee');
}
Expand Down Expand Up @@ -282,6 +281,7 @@ function help(){
}

function printVersion(){
console.log("1.14.?");
const package = require(__dirname + '/../../package.json')
console.log(package.version);
process.exit(0);
}

0 comments on commit 74d1a1e

Please # to comment.