Skip to content

Commit

Permalink
Rename variables to a better name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Hinrichsen committed Jan 21, 2016
1 parent 5b757aa commit 783fb9d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,14 @@ gulp.task("replace-js-strings", ["webpack", "minify-js"], function () {
});

gulp.task("version-check", function () {
var shrinkwrapVersion = require("./npm-shrinkwrap")["node-version"];
var packageVersion = require("./package").engines.node;
var shrinkwrapNodeVersion = require("./npm-shrinkwrap")["node-version"];
var packageNodeVersion = require("./package").engines.node;
var nodeVersion = process.version;
if (shrinkwrapVersion !== nodeVersion ||
nodeVersion !== "v" + packageVersion) {
if (shrinkwrapNodeVersion !== nodeVersion ||
nodeVersion !== "v" + packageNodeVersion) {
throw(
"\nPackage engine version is " + packageVersion + "\n" +
"Shrinkwrap version is " + shrinkwrapVersion + "\n" +
"\nPackage Node engine version is " + packageVersion + "\n" +
"Shrinkwrap Node version is " + shrinkwrapVersion + "\n" +
"Current Node version is " + nodeVersion
);
}
Expand Down

0 comments on commit 783fb9d

Please sign in to comment.