Skip to content

Commit e8fb291

Browse files
committed
chore - deno 2 path
1 parent ada4c7d commit e8fb291

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/deno_ral/path.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66

77
import * as path from "path";
8+
import { normalize as posixNormalize } from "path/posix";
89

910
export const SEP = path.SEPARATOR;
1011
export const SEP_PATTERN = path.SEPARATOR_PATTERN;
@@ -21,4 +22,4 @@ export const normalize = path.normalize;
2122
export const toFileUrl = path.toFileUrl;
2223
export const isGlob = path.isGlob;
2324

24-
export const posix = { normalize: path.posix.normalize };
25+
export const posix = { normalize: posixNormalize };

0 commit comments

Comments
 (0)