diff options
Diffstat (limited to 'installer/mod.ts')
-rw-r--r-- | installer/mod.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/mod.ts b/installer/mod.ts index d6ebedbd4..1b9217cd4 100644 --- a/installer/mod.ts +++ b/installer/mod.ts @@ -10,7 +10,7 @@ const encoder = new TextEncoder(); const decoder = new TextDecoder("utf-8"); // Regular expression to test disk driver letter. eg "C:\\User\username\path\to" const driverLetterReg = /^[c-z]:/i; -const isWindows = Deno.platform.os === "win"; +const isWindows = Deno.build.os === "win"; function showHelp(): void { console.log(`deno installer |