summaryrefslogtreecommitdiff
path: root/tests/specs/permission/path_not_permitted
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2024-09-10 20:12:24 +0200
committerGitHub <noreply@github.com>2024-09-10 11:12:24 -0700
commit7bfcb4dd10d31f5f9566c90a28449c0951f3a48e (patch)
treefca0dec6e98118418f1712c6e8451a04c7e89988 /tests/specs/permission/path_not_permitted
parentbe5419d479fcae16c8a07dec00ce11b532b7996a (diff)
feat(cli): use NotCapable error for permission errors (#25431)
Closes #7394 --------- Co-authored-by: snek <snek@deno.com>
Diffstat (limited to 'tests/specs/permission/path_not_permitted')
-rw-r--r--tests/specs/permission/path_not_permitted/main.out8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/specs/permission/path_not_permitted/main.out b/tests/specs/permission/path_not_permitted/main.out
index 77f800158..b057d0a63 100644
--- a/tests/specs/permission/path_not_permitted/main.out
+++ b/tests/specs/permission/path_not_permitted/main.out
@@ -1,11 +1,11 @@
Running...
-PermissionDenied: Requires run access to "deno", run again with the --allow-run flag
+NotCapable: Requires run access to "deno", run again with the --allow-run flag
[WILDCARD]
at file:///[WILDLINE]/sub.ts:15:5 {
- name: "PermissionDenied"
+ name: "NotCapable"
}
-PermissionDenied: Requires run access to "deno", run again with the --allow-run flag
+NotCapable: Requires run access to "deno", run again with the --allow-run flag
[WILDCARD]
at file:///[WILDLINE]/sub.ts:23:22 {
- name: "PermissionDenied"
+ name: "NotCapable"
}