We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa41ab2 commit 2973afbCopy full SHA for 2973afb
lib/utils/index.js
@@ -69,7 +69,7 @@ var utils = (module.exports = {
69
args.map(function (arg) {
70
// if an argument contains a space, we want to show it with quotes
71
// around it to indicate that it is a single argument
72
- if (arg.indexOf(' ') === -1) {
+ if (arg.length > 0 && arg.indexOf(' ') === -1) {
73
return arg;
74
}
75
// this should correctly escape nested quotes
0 commit comments