Skip to content

Commit 119e030

Browse files
committed
remove: better error message when no version is passed in
1 parent 41be2cc commit 119e030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/remove.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function remove (gyp, argv, callback) {
2323
var v = argv[0] || gyp.opts.target
2424

2525
if (!v) {
26-
return callback(new Error('You must specify a version number to remove. Ex: "0.6.12"'))
26+
return callback(new Error('You must specify a version number to remove. Ex: "' + process.version + '"'))
2727
}
2828

2929
// parse the version to normalize and make sure it's valid

0 commit comments

Comments
 (0)