Skip to content

R-G mistakenly returns "Multiple files match" when a root-level file matches #541

@couimet

Description

@couimet

On this project, running R-G with package.json#L18C20-L22C24 shows RangeLink: Multiple files match: package.json warning toast.

When I use ./package.json#L18C20-L22C24, it properly navigates to the file and make the selection.

There are a couple problems with this:

  1. When a root-level file without explicit path matches (the equivalent of ./), RangeLink should navigate to it
  2. I'm unsure why this error msg gets a RangeLink: prefix in the toast ? The toasts show a Source attribute that would not require our msg to contain a prefix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions