Skip to content
Myr

trim() input string of .arguments method

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

authored by Александр Шмелев · committed by Abe Tomoaki · parent 60958df · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/command.js+1 added-1 removed
328 unmodified lines
329 * @return {Command} `this` command for chaining330 */331332 arguments(names) {333 names.split(/ +/).forEach((detail) => {333 names.trim().split(/ +/).forEach((detail) => {334 this.argument(detail);335 });336 return this;337 }
1859 unmodified lines