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
1 merge request!3079Switch to unix path separators before normalizing path for Windows compatibility
Showing with 1 addition and 1 deletion
+1 -1
......@@ -56,7 +56,7 @@ async function unmap(
}
let { fileName } = frame;
if (fileName) {
fileName = path.normalize(fileName);
fileName = path.normalize(fileName.replace(/[\\]+/g, '/'));
}
if (fileName == null) {
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