Skip to content

Commit

Permalink
Fix: trivial change.
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Feb 1, 2016
1 parent 45f74e8 commit aa2dd2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bin/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
* See LICENSE file in root directory for full license.
*/

// In tests, `../../package.json` is correct.
const version = read("../package.json") || read("../../package.json");

/**
* Reads the version of `npm-run-all`.
*
Expand All @@ -22,6 +19,9 @@ function read(path) {
}
}

// In tests, `../../package.json` is correct.
const version = read("../package.json") || read("../../package.json");

/**
* Print a version text.
*
Expand Down

0 comments on commit aa2dd2b

Please sign in to comment.