Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: show absolute paths #148

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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