You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It creates a regexp meant to match two items in the argv array, but items are tested against the regexp in isolation.
The text was updated successfully, but these errors were encountered:
cspotcode
changed the title
https://github.com/marko-js/utils/blob/master/packages/parse-node-args/src/flags.js#L36
parse-node-args: parsing -r, -p, and -e won't work
Oct 11, 2018
Hey, thanks for creating the issue. It seems to be working but I’ll take a closer look when I get some time. It would be very helpful if you are able to create a failing test for this case also 🙂.
parse-node-args
I don't think this line will work correctly:
https://github.com/marko-js/utils/blob/master/packages/parse-node-args/src/flags.js#L36
It creates a regexp meant to match two items in the argv array, but items are tested against the regexp in isolation.
The text was updated successfully, but these errors were encountered: