Skip to content

Commit

Permalink
tarballUrl global and && when checking for iojs
Browse files Browse the repository at this point in the history
PR-URL: #729
  • Loading branch information
ralphtheninja authored and rvagg committed Sep 14, 2015
1 parent ecca4ca commit ad827cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/process-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
}

Expand Down

0 comments on commit ad827cd

Please sign in to comment.