Skip to content

Commit

Permalink
Revert "chore: allow-sys on local run"
Browse files Browse the repository at this point in the history
This reverts commit b29b17c.
  • Loading branch information
WilliamBergamin committed Aug 29, 2024
1 parent b29b17c commit ed8a6f6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/local-run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export const getCommandline = function (
"--config=deno.jsonc",
"--allow-read",
"--allow-env",
"--allow-sys=osRelease",
];

const allowedDomains = manifest.outgoing_domains ?? [];
Expand Down
6 changes: 0 additions & 6 deletions src/tests/local-run.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);
Expand All @@ -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,
Expand All @@ -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,
]);
Expand All @@ -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,
]);
Expand All @@ -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",
]);
Expand All @@ -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",
Expand Down

0 comments on commit ed8a6f6

Please sign in to comment.