Skip to content

Arguments are not correctly passed to the executed file #34

@floriancargoet

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.

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