diff options
author | Behnam Mohammadi <itten@live.com> | 2020-11-14 02:51:11 +0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-14 00:21:11 +0100 |
commit | a59f5eadd86e85bf662b37ec40ceb6f80cb207c4 (patch) | |
tree | 49b3ff46c3f743d4975c7eaa3d73698c006bf24c /std/path/separator.ts | |
parent | d5661f677e9f5675fc488c4629e85a58764ec3ff (diff) |
refactor(std): add std/_util/os.ts module (#8370)
This commit adds "std/_util/os.ts" module which contains
common os detection logic and is browser compatible.
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
Diffstat (limited to 'std/path/separator.ts')
-rw-r--r-- | std/path/separator.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/path/separator.ts b/std/path/separator.ts index 4b54ad438..61bb7c588 100644 --- a/std/path/separator.ts +++ b/std/path/separator.ts @@ -1,7 +1,7 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. /** This module is browser compatible. */ -import { isWindows } from "./_constants.ts"; +import { isWindows } from "../_util/os.ts"; export const SEP = isWindows ? "\\" : "/"; export const SEP_PATTERN = isWindows ? /[\\/]+/ : /\/+/; |