diff --git a/lib/process-release.js b/lib/process-release.js index ea7e87e5e2..0836ce73eb 100644 --- a/lib/process-release.js +++ b/lib/process-release.js @@ -20,6 +20,7 @@ function processRelease (argv, gyp, defaultVersion, defaultRelease) { , baseUrl , libUrl32 , libUrl64 + , tarballUrl if (!versionSemver) { // not a valid semver string, nothing we can do @@ -42,7 +43,7 @@ function processRelease (argv, gyp, defaultVersion, defaultRelease) { } else { // old node or alternative --target= // semver.satisfies() doesn't like prerelease tags so test major directly - isIojs = versionSemver.major >= 1 & versionSemver.major < 4 + isIojs = versionSemver.major >= 1 && versionSemver.major < 4 name = isIojs ? 'iojs' : 'node' }