diff --git a/src/local-run.ts b/src/local-run.ts index d231657..bb7f2f9 100644 --- a/src/local-run.ts +++ b/src/local-run.ts @@ -63,7 +63,6 @@ export const getCommandline = function ( "--config=deno.jsonc", "--allow-read", "--allow-env", - "--allow-sys=osRelease", ]; const allowedDomains = manifest.outgoing_domains ?? []; diff --git a/src/tests/local-run.test.ts b/src/tests/local-run.test.ts index 4b56fc2..193b322 100644 --- a/src/tests/local-run.test.ts +++ b/src/tests/local-run.test.ts @@ -43,7 +43,6 @@ Deno.test("getCommandline function", async (t) => { "--config=deno.jsonc", "--allow-read", "--allow-env", - "--allow-sys=osRelease", "--allow-net=example.com,slack.com,api.slack.com,files.slack.com,deno.land", FAKE_DENO_LAND_EXPECTED_MODULE, ]); @@ -64,7 +63,6 @@ Deno.test("getCommandline function", async (t) => { "--config=deno.jsonc", "--allow-read", "--allow-env", - "--allow-sys=osRelease", "--unsafely-ignore-certificate-errors=dev1234.slack.com", "--allow-net=example.com,dev1234.slack.com,deno.land", FAKE_DENO_LAND_EXPECTED_MODULE, @@ -86,7 +84,6 @@ Deno.test("getCommandline function", async (t) => { "--config=deno.jsonc", "--allow-read", "--allow-env", - "--allow-sys=osRelease", "--allow-net=slack.com,api.slack.com,files.slack.com,deno.land", FAKE_DENO_LAND_EXPECTED_MODULE, ]); @@ -107,7 +104,6 @@ Deno.test("getCommandline function", async (t) => { "--config=deno.jsonc", "--allow-read", "--allow-env", - "--allow-sys=osRelease", "--allow-net=slack.com,api.slack.com,files.slack.com,deno.land", FAKE_FILE_EXPECTED_MODULE, ]); @@ -128,7 +124,6 @@ Deno.test("getCommandline function", async (t) => { "--config=deno.jsonc", "--allow-read", "--allow-env", - "--allow-sys=osRelease", "--allow-net=example.com,slack.com,api.slack.com,files.slack.com,deno.land", "file:///local-run-function.ts", ]); @@ -151,7 +146,6 @@ Deno.test("getCommandline function", async (t) => { "--config=deno.jsonc", "--allow-read", "--allow-env", - "--allow-sys=osRelease", "--allow-net=example.com,slack.com,api.slack.com,files.slack.com,deno.land", "file:///local-run-function.ts", "--mycustomflag",