From 598f8263b32321932b5e9af1bd12bec19d9adf50 Mon Sep 17 00:00:00 2001 From: Peter Cottle Date: Sun, 8 Dec 2013 10:37:10 -0800 Subject: [PATCH] whitespace warnings --- src/js/commands/index.js | 2 +- src/js/git/commands.js | 2 +- src/js/mercurial/commands.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/commands/index.js b/src/js/commands/index.js index fbe26316..a6045417 100644 --- a/src/js/commands/index.js +++ b/src/js/commands/index.js @@ -190,7 +190,7 @@ CommandOptionParser.prototype.explodeAndSet = function() { var next = exploded[i + 1]; var optionArgs = []; if (next && next.slice(0,1) !== '-') { - // only store the next argument as this + // only store the next argument as this // option value if its not another option i++; optionArgs = [next]; diff --git a/src/js/git/commands.js b/src/js/git/commands.js index 911b1ab8..c2676020 100644 --- a/src/js/git/commands.js +++ b/src/js/git/commands.js @@ -620,7 +620,7 @@ var commandConfig = { var args = null; if (commandOptions['-b']) { - // the user is really trying to just make a + // the user is really trying to just make a // branch and then switch to it. so first: args = commandOptions['-b'].concat(generalArgs); command.twoArgsImpliedHead(args, '-b'); diff --git a/src/js/mercurial/commands.js b/src/js/mercurial/commands.js index c69d33c3..27729cdd 100644 --- a/src/js/mercurial/commands.js +++ b/src/js/mercurial/commands.js @@ -140,7 +140,7 @@ var commandConfig = { if (options['-r']) { // we specified a revision with -r but // need to flip the order - var generalArgs = command.getGeneralArgs(); + generalArgs = command.getGeneralArgs(); branchName = generalArgs[0]; rev = options['-r'][0]; delegate.name = 'branch';