Skip to content
Myr

fix styling of prev commit

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent 4f1ddc1 · Browse files · 1 file+2 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−5 removed

  • other:+2 added−5 removed

1 file+2 added−5 removed

modified:lib/commander.js+2 added-5 removed
211 unmodified lines
212 if (parsed.unknown.length > 0) { 213 self.unknownOption(parsed.unknown[0]);214 }215 216 // Leftover arguments need to be pushed back onto the args stack217 // Fixes issue #56218 if (parsed.args.length > 0) {219 args = parsed.args.concat(args);220 }216 // Leftover arguments need to be pushed back. Fixes issue #56217 if (parsed.args.length) args = parsed.args.concat(args);218 219 self.args.forEach(function(arg, i){220 if (arg.required && null == args[i]) {221 self.missingArgument(arg.name);
813 unmodified lines