Skip to content

Conversation

delphinus
Copy link

Without this, it builds elements (here) with odd paths for local modules.

For example, code contains use Foo::Bar; and it imports lib/Foo/Bar.pm. This makes Uri.file(path).toString() => /lib/Foo/Bar.pm -- This file does not exist.

Without this, it builds elements ([here][]) with odd paths for local
modules.

[here]: https://github.com/bscan/PerlNavigator/blob/de1344a97c883698d5630b01d8299a17a9d95148/server/src/parseTags.ts#L61

For example, code contains `use Foo::Bar;` and it imports
`lib/Foo/Bar.pm`. This makes `Uri.file(path).toString()` =>
`/lib/Foo/Bar.pm` -- This file does not exist.
@delphinus delphinus force-pushed the fix/detect-relative-modules branch from 44af664 to 02a8e68 Compare November 11, 2024 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant