diff options
Diffstat (limited to 'std/path/_globrex.ts')
-rw-r--r-- | std/path/_globrex.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/std/path/_globrex.ts b/std/path/_globrex.ts index 2b3af14ad..6ad297d86 100644 --- a/std/path/_globrex.ts +++ b/std/path/_globrex.ts @@ -1,8 +1,10 @@ // This file is ported from globrex@0.1.2 // MIT License // Copyright (c) 2018 Terkel Gjervig Nielsen +/** This module is browser compatible. */ + +import { isWindows as isWin } from "./_constants.ts"; -const isWin = Deno.build.os === "windows"; const SEP = isWin ? `(?:\\\\|\\/)` : `\\/`; const SEP_ESC = isWin ? `\\\\` : `/`; const SEP_RAW = isWin ? `\\` : `/`; |