diff options
Diffstat (limited to 'std/path/mod.ts')
-rw-r--r-- | std/path/mod.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/std/path/mod.ts b/std/path/mod.ts index 104e0b616..9cb7f1edb 100644 --- a/std/path/mod.ts +++ b/std/path/mod.ts @@ -4,7 +4,7 @@ import * as _win32 from "./win32.ts"; import * as _posix from "./posix.ts"; -import { isWindows } from "./constants.ts"; +const isWindows = Deno.build.os == "windows"; const path = isWindows ? _win32 : _posix; @@ -27,8 +27,7 @@ export const { toNamespacedPath, } = path; -export { common } from "./common.ts"; -export { EOL, SEP, SEP_PATTERN, isWindows } from "./constants.ts"; +export * from "./common.ts"; +export { SEP, SEP_PATTERN } from "./separator.ts"; export * from "./interface.ts"; export * from "./glob.ts"; -export * from "./globrex.ts"; |