whitespace warnings

This commit is contained in:
Peter Cottle 2013-12-08 10:37:10 -08:00
parent 7ac852dae5
commit 598f8263b3
3 changed files with 3 additions and 3 deletions

View file

@ -190,7 +190,7 @@ CommandOptionParser.prototype.explodeAndSet = function() {
var next = exploded[i + 1]; var next = exploded[i + 1];
var optionArgs = []; var optionArgs = [];
if (next && next.slice(0,1) !== '-') { 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 // option value if its not another option
i++; i++;
optionArgs = [next]; optionArgs = [next];

View file

@ -620,7 +620,7 @@ var commandConfig = {
var args = null; var args = null;
if (commandOptions['-b']) { 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: // branch and then switch to it. so first:
args = commandOptions['-b'].concat(generalArgs); args = commandOptions['-b'].concat(generalArgs);
command.twoArgsImpliedHead(args, '-b'); command.twoArgsImpliedHead(args, '-b');

View file

@ -140,7 +140,7 @@ var commandConfig = {
if (options['-r']) { if (options['-r']) {
// we specified a revision with -r but // we specified a revision with -r but
// need to flip the order // need to flip the order
var generalArgs = command.getGeneralArgs(); generalArgs = command.getGeneralArgs();
branchName = generalArgs[0]; branchName = generalArgs[0];
rev = options['-r'][0]; rev = options['-r'][0];
delegate.name = 'branch'; delegate.name = 'branch';