Skip to content

Arguments are not correctly passed to the executed file #34

Description

@floriancargoet

Some arguments are passed to the executed file and some are not (and generate errors).

$ cat test.js
console.log(process.argv);
$ cover run test.js some arguments
[ 'node', '/tmp/options-test/test.js', 'some', 'arguments' ]
$ cover run test.js --some --arguments
error: unknown option `--some

commander is intercepting the arguments and exits the program since it doesn't recognize them.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions