mirror of
https://github.com/denoland/deno.git
synced 2025-09-29 05:34:49 +00:00
stabilize Deno.cwd and require --allow-read (#5068)
This commit is contained in:
parent
191c59a591
commit
6c02b061ce
8 changed files with 23 additions and 59 deletions
|
@ -1,7 +1,7 @@
|
|||
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
||||
import { unitTest, assert, assertEquals } from "./test_util.ts";
|
||||
|
||||
unitTest(function dirCwdNotNull(): void {
|
||||
unitTest({ perms: { read: true } }, function dirCwdNotNull(): void {
|
||||
assert(Deno.cwd() != null);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue