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

Remove the use of Dirent.path as deprecated #10

Merged
merged 1 commit into from
May 15, 2024
Merged

Remove the use of Dirent.path as deprecated #10

merged 1 commit into from
May 15, 2024

Conversation

surilindur
Copy link
Contributor

This should fix some weird errors with certain Node versions, where the path on a Dirent was pointing at either the parent path or the path of the entry itself, in a really inconsistent way. It turns out that the path entry has been deprecated, but it is still offered in the autocompletion for some reason, whereas the replacement is not.

The simple solution is to remove its use, because the query loader can use the supplied path as the base for joining.

This should help get comunica/comunica#1340 pass the CI on Node 18.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 9078768387

Details

  • 9 of 9 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 9076982663: 0.0%
Covered Lines: 244
Relevant Lines: 244

💛 - Coveralls

@rubensworks rubensworks merged commit 916dbf6 into comunica:master May 15, 2024
6 checks passed
@rubensworks
Copy link
Member

Released as 4.0.2.

@surilindur surilindur deleted the fix/avoid-dirent-path-usage branch May 15, 2024 07:12
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.

3 participants