From 6f0d165f7fdbeef4fb01de30e6f702c792142688 Mon Sep 17 00:00:00 2001 From: Steven Eubank <47563310+smeubank@users.noreply.github.com> Date: Wed, 14 Feb 2024 12:11:01 +0100 Subject: [PATCH] Deno arguments are not in the correct order When testing this Deno CLI complained about the order of arguments in the script ```me@me deno-edge-hello-world % deno run index.ts --allow-net=xxxxx.ingest.sentry.io Permission flags have likely been incorrectly set after the script argument. To grant permissions, set them before the script argument. For example: deno run --allow-read=. main.js error: Module not found "file:///Users/steveneubank/Desktop/deno-edge-hello-world/index.ts".```` --- platform-includes/getting-started-config/javascript.deno.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-includes/getting-started-config/javascript.deno.mdx b/platform-includes/getting-started-config/javascript.deno.mdx index 31fde4b2f87d8..b50f239b372ad 100644 --- a/platform-includes/getting-started-config/javascript.deno.mdx +++ b/platform-includes/getting-started-config/javascript.deno.mdx @@ -15,5 +15,5 @@ To ensure the SDK can send events, you should enable network access for your ingestion domain: ```bash -deno run index.ts --allow-net=___ORG_INGEST_DOMAIN___ +deno run --allow-net=___ORG_INGEST_DOMAIN___ index.ts ```