dthree / vorpal

Node's framework for interactive CLIs
http://vorpal.js.org
MIT License
5.64k stars 280 forks source link

Compiler doesn't reach end stage #119

Closed Shakyamuni177te closed 8 years ago

Shakyamuni177te commented 8 years ago

The compiler won't reach the end stage after I finished reconfiguring a null object. Is this an issue with the interfacing infrastructure and not the app itself?

dthree commented 8 years ago

Could you give me an example of what your code is and what the error is?

dthree commented 8 years ago

Throw me some code and I'll re-open this. Not enough data to do anything with.

Shakyamuni177te commented 8 years ago

Might be something to do with:

parseArgs: function (str, opts) { const reg = /"(.?)"|'(.?)'|(.*?)|([^\s"]+)/gi; let arr = []; let match; do { match = reg.exec(str); if (match !== null) { arr.push(match[1] || match[2] || match[3] || match[4]); } } while (match !== null);

arr = minimist(arr, opts);
arr._ = arr._ || [];
return arr;

},