From b0525edd6fb2fa414407ec73c981051d692d1c26 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 17 Sep 2024 00:08:02 +0100 Subject: feat: warn when using `--allow-run` with no allow list (#25215) --- tests/napi/cleanup_hook_test.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/napi') 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, ], -- cgit v1.2.3