From 69893db3b2d686dad66d0c906dce635134232b26 Mon Sep 17 00:00:00 2001 From: Andrew Bradley Date: Sun, 1 May 2022 01:14:27 -0400 Subject: [PATCH] fix? --- source-map-support.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source-map-support.js b/source-map-support.js index f9de253..7cbec40 100644 --- a/source-map-support.js +++ b/source-map-support.js @@ -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); }