Skip to content

Commit

Permalink
remove: fix "remove" command after semver v2 upgrade
Browse files Browse the repository at this point in the history
Closes #278.
  • Loading branch information
TooTallNate committed Jun 28, 2013
1 parent 73b9989 commit 800179a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/remove.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function remove (gyp, argv, callback) {
}

// flatten the version Array into a String
version = version.slice(1, 4).join('.')
version = version.version

var versionPath = path.resolve(gyp.devDir, version)
log.verbose('remove', 'removing development files for version:', version)
Expand Down

0 comments on commit 800179a

Please sign in to comment.