We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1eec6c commit cebb1f6Copy full SHA for cebb1f6
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