diff options
author | Felix Rabe <felix@rabe.io> | 2014-06-08 19:42:11 +0400 |
---|---|---|
committer | Domenic Denicola <domenic@domenicdenicola.com> | 2014-06-25 02:44:52 +0400 |
commit | 0b3d5b968c34385d57ce8b61416b0feebe8da8c3 (patch) | |
tree | 5daf7f4c06f26745eb3c50961d3ba574ee6c07a9 /lib | |
parent | ee4d1bad7f700b95defecfe042977c392667f2a4 (diff) |
version.js: Fix indentation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/version.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/version.js b/lib/version.js index a74f72ce1..5551d4cd9 100644 --- a/lib/version.js +++ b/lib/version.js @@ -53,9 +53,9 @@ function version (args, silent, cb_) { return cb_(er) } - var newVer = semver.valid(args[0]) - if (!newVer) newVer = semver.inc(data.version, args[0]) - if (!newVer) return cb_(version.usage) + var newVer = semver.valid(args[0]) + if (!newVer) newVer = semver.inc(data.version, args[0]) + if (!newVer) return cb_(version.usage) if (data.version === newVer) return cb_(new Error("Version not changed")) data.version = newVer |