Skip to content

A relative options.cwd combined with running from node_modules/.bin doesn't work #49

@damonmaria

Description

@damonmaria

If options.cwd is specified then it is prepended in front of node_modules/.bin in the path. But this means (if options.cwd is not absolute) when changed to the new working directory the path addition is wrong (it should be just node_modules/.bin).

And when options.cwd is absolute then node_modules/.bin would still be correct. So shouldn't options.cwd not be included in the node_modules/.bin path?

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