refactor: clean up permission handling (#9367)

This commit is contained in:
crowlKats 2021-03-17 22:45:12 +01:00 committed by GitHub
parent b3fe85163f
commit 0e70d9e59b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 969 additions and 894 deletions

View file

@ -44,7 +44,7 @@ unitTest({ perms: { read: false } }, function dirCwdPermError(): void {
Deno.cwd();
},
Deno.errors.PermissionDenied,
"read access to <CWD>, run again with the --allow-read flag",
"Requires read access to <CWD>, run again with the --allow-read flag",
);
});