We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adc3983 commit 4069bfaCopy full SHA for 4069bfa
lib/util/convert-path-to-posix.ts
@@ -7,5 +7,5 @@ export default function convertPathToPosix(filePath: string) {
7
return filePath;
8
}
9
10
- return filePath.split(path?.win32?.sep).join(path.posix.sep);
+ return filePath.split(path?.win32?.sep).join(path?.posix?.sep ?? "/");
11
0 commit comments