summaryrefslogtreecommitdiff
path: root/std/node/_url.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/_url.ts')
-rw-r--r--std/node/_url.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/std/node/_url.ts b/std/node/_url.ts
index 82daa25e9..f85286df2 100644
--- a/std/node/_url.ts
+++ b/std/node/_url.ts
@@ -26,8 +26,7 @@ import {
CHAR_LOWERCASE_Z,
} from "../path/_constants.ts";
import * as path from "./path.ts";
-
-const isWindows = Deno.build.os === "windows";
+import { isWindows } from "../_util/os.ts";
const forwardSlashRegEx = /\//g;
const percentRegEx = /%/g;