File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ export type {
1313export * as path from "jsr:@std/path@0.224.0" ;
1414export * as fs from "jsr:@std/fs@0.224.0" ;
1515export * as asserts from "jsr:@std/assert@0.225.1" ;
16+ export * as posix from "jsr:@std/path@0.224.0/posix" ;
17+ export * as windows from "jsr:@std/path@0.224.0/windows" ;
1618
1719export {
1820 asyncIteratorFrom as fromA ,
Original file line number Diff line number Diff line change 66 homeDir ,
77 Item ,
88 path as univPath ,
9+ posix ,
910 vars ,
11+ windows ,
1012 wrapA ,
1113} from "../@ddc-file/deps.ts" ;
1214import * as util from "../@ddc-file/util.ts" ;
@@ -77,7 +79,7 @@ export class Source extends BaseSource<Params> {
7779 const mode = p . mode === "os"
7880 ? ( Deno . build . os === "windows" ? "win32" : "posix" )
7981 : p . mode ;
80- const path = mode === "posix" ? univPath . posix : univPath . win32 ;
82+ const path = mode === "posix" ? posix : windows ;
8183 const maxOfMax = Math . max (
8284 p . cwdMaxItems ,
8385 p . bufMaxItems ,
You can’t perform that action at this time.
0 commit comments