Skip to content

parse-node-args: parsing -r, -p, and -e won't work#5

Description

@cspotcode

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions