From de1a10e5f7afe793a66b2349642ea135fc066104 Mon Sep 17 00:00:00 2001 From: "Kevin (Kun) \"Kassimo\" Qian" Date: Wed, 6 Mar 2019 13:54:58 -0800 Subject: Reorganize version and platform into Deno.build and Deno.version (#1879) --- js/chmod_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/chmod_test.ts') diff --git a/js/chmod_test.ts b/js/chmod_test.ts index 0b7dab9b4..f6eac05b0 100644 --- a/js/chmod_test.ts +++ b/js/chmod_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { testPerm, assertEqual } from "./test_util.ts"; -const isNotWindows = Deno.platform.os !== "win"; +const isNotWindows = Deno.build.os !== "win"; testPerm({ read: true, write: true }, function chmodSyncSuccess() { const enc = new TextEncoder(); -- cgit v1.2.3