Skip to content

[BUG] npm repo x inside workspace folder opens repo of the workspace #5067

Description

@wraithgar

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

If your cwd is a workspace, running npm repo x opens up the repo of the workspace, not x.

Expected Behavior

npm repo x should always open the repo for x.

Steps To Reproduce

No response

Environment

  • npm: v8.12.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Bugthing that needs fixingPriority 2secondary priority issueRelease 8.xwork is associated with a specific npm 8 release

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions