Skip to content

Commit 06451e3

Browse files
author
Ben Sorohan
committed
Add missing semi-colons for linting.
1 parent 92d6e49 commit 06451e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -855,8 +855,8 @@ Command.prototype.version = function(str, flags) {
855855
if (arguments.length === 0) return this._version;
856856
this._version = str;
857857
flags = flags || '-V, --version';
858-
var longOptIndex = flags.indexOf('--')
859-
this._versionOptionName = ~longOptIndex ? flags.substr(longOptIndex + 2) : 'version'
858+
var longOptIndex = flags.indexOf('--');
859+
this._versionOptionName = ~longOptIndex ? flags.substr(longOptIndex + 2) : 'version';
860860
this.option(flags, 'output the version number');
861861
this.on('option:' + this._versionOptionName, function() {
862862
process.stdout.write(str + '\n');

0 commit comments

Comments
 (0)