summaryrefslogtreecommitdiff
path: root/std/fs/ensure_symlink.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/fs/ensure_symlink.ts')
-rw-r--r--std/fs/ensure_symlink.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/std/fs/ensure_symlink.ts b/std/fs/ensure_symlink.ts
index 7c68d05e2..b57abe907 100644
--- a/std/fs/ensure_symlink.ts
+++ b/std/fs/ensure_symlink.ts
@@ -3,8 +3,7 @@ import * as path from "../path/mod.ts";
import { ensureDir, ensureDirSync } from "./ensure_dir.ts";
import { exists, existsSync } from "./exists.ts";
import { getFileInfoType } from "./_util.ts";
-
-const isWindows = Deno.build.os == "windows";
+import { isWindows } from "../_util/os.ts";
/**
* Ensures that the link exists.