summaryrefslogtreecommitdiff
path: root/std/fs/expand_glob.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/fs/expand_glob.ts')
-rw-r--r--std/fs/expand_glob.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/std/fs/expand_glob.ts b/std/fs/expand_glob.ts
index db60b2465..390df4932 100644
--- a/std/fs/expand_glob.ts
+++ b/std/fs/expand_glob.ts
@@ -16,8 +16,7 @@ import {
walkSync,
} from "./walk.ts";
import { assert } from "../_util/assert.ts";
-
-const isWindows = Deno.build.os == "windows";
+import { isWindows } from "../_util/os.ts";
export interface ExpandGlobOptions extends Omit<GlobOptions, "os"> {
root?: string;