summaryrefslogtreecommitdiff
path: root/tests/napi
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-17 00:08:02 +0100
committerGitHub <noreply@github.com>2024-09-16 23:08:02 +0000
commitb0525edd6fb2fa414407ec73c981051d692d1c26 (patch)
tree0e21ef4b2667f6882d6c52f24d27cc26d3696403 /tests/napi
parentf7ddea3af7a9f4dfef23aa544f05348dabbad20d (diff)
feat: warn when using `--allow-run` with no allow list (#25215)
Diffstat (limited to 'tests/napi')
-rw-r--r--tests/napi/cleanup_hook_test.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/napi/cleanup_hook_test.js b/tests/napi/cleanup_hook_test.js
index 017674ad4..2c1f73e12 100644
--- a/tests/napi/cleanup_hook_test.js
+++ b/tests/napi/cleanup_hook_test.js
@@ -17,9 +17,7 @@ if (import.meta.main) {
"--config",
Deno.realPathSync("../config/deno.json"),
"--no-lock",
- "--allow-read",
- "--allow-run",
- "--allow-ffi",
+ "-A",
"--unstable-ffi",
import.meta.url,
],