Commit 014fd4d0 authored by Joe Haddad's avatar Joe Haddad
Browse files

Switch to unix path separators before normalizing path for Windows compatibility

parent b17fa412
Showing with 1 addition and 1 deletion
+1 -1
...@@ -56,7 +56,7 @@ async function unmap( ...@@ -56,7 +56,7 @@ async function unmap(
} }
let { fileName } = frame; let { fileName } = frame;
if (fileName) { if (fileName) {
fileName = path.normalize(fileName); fileName = path.normalize(fileName.replace(/[\\]+/g, '/'));
} }
if (fileName == null) { if (fileName == null) {
return frame; return frame;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment