We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51cee0e commit cf49c3cCopy full SHA for cf49c3c
libs/remixd/src/utils.ts
@@ -41,7 +41,11 @@ function isSubDirectory (parent: string, child: string) {
41
function relativePath (path: string, sharedFolder: string): string {
42
const relative: string = pathModule.relative(sharedFolder, path)
43
44
- return normalizePath(relative)
+ return convertPathToPosix(normalizePath(relative))
45
+}
46
+
47
+const convertPathToPosix = (pathName: string): string => {
48
+ return pathName.split(pathModule.sep).join(pathModule.posix.sep)
49
}
50
51
function normalizePath (path) {
0 commit comments