Skip to content

Roc always logs that it's using local CLI #196

@Alxandr

Description

@Alxandr

The test to check whether roc is using local or current CLI always enters the first case (at least on my version of node). require.resolve appends the file suffix (.js), whereas path.resolve does not, so on my computer it compares the paths /absolute/path/to/cli.js and /absolute/path/to/cli, which are never equal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions