Merge pull request #1151 from eventualbuddha/fix-regex-typo

Fix a typo in the regex trying to understand the command.
This commit is contained in:
Sindre Sorhus
2014-03-05 12:04:12 +01:00

View File

@@ -62,7 +62,7 @@ while (options.argv.remain.length) {
break;
}
command = command.replace(/s/g, '.');
command = command.replace(/\s/g, '.');
// Direct lookup
if (mout.object.has(bower.commands, command)) {