Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
cspotcode committed May 1, 2022
1 parent 3a68f09 commit 69893db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source-map-support.js
Expand Up @@ -259,9 +259,9 @@ function supportRelativeURL(file, url) {
const dir = path.dirname(file);
return path.resolve(dir, url);
}
// if(isFileUrl(file) && path.isAbsolute(url)) {
// url = pathToFileURL(url).toString();
// }
if(isFileUrl(file) && path.isAbsolute(url)) {
url = pathToFileURL(url).toString();
}
}
return resolveUri(url, file);
}
Expand Down

0 comments on commit 69893db

Please sign in to comment.