Skip to content

Commit

Permalink
Update packages/rdf/lib/localFetch/localFetch.js
Browse files Browse the repository at this point in the history
Co-authored-by: Ludovic Muller <ludovicm67@users.noreply.github.com>
  • Loading branch information
tpluscode and ludovicm67 authored Aug 2, 2023
1 parent 4367199 commit 0ec28c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rdf/lib/localFetch/localFetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async function localFetch(
return fetch(new URL(input).toString())
} catch {
// in case of error, the input must be path string
const absolutPath = basePath ? resolve(basePath, input) : input
const absolutePath = basePath ? resolve(basePath, input) : input

return fetch(pathToFileURL(absolutePath).toString())
}
Expand Down

0 comments on commit 0ec28c1

Please sign in to comment.