Skip to content

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

Open
@cspotcode

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.

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