Skip to content

Commit 60b9ac6

Browse files
authored
Deno arguments are not in the correct order (#9139)
* 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".```` * source files script same issue
1 parent 8b822e1 commit 60b9ac6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

platform-includes/getting-started-config/javascript.deno.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ To ensure the SDK can send events, you should enable network access for your
1515
ingestion domain:
1616

1717
```bash
18-
deno run index.ts --allow-net=___ORG_INGEST_DOMAIN___
18+
deno run --allow-net=___ORG_INGEST_DOMAIN___ index.ts
1919
```

platform-includes/getting-started-sourcemaps/javascript.deno.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
To ensure the SDK can include your source code in stack traces, you should enable read access for your source files:
44

55
```bash
6-
deno run index.ts --allow-read=./src
6+
deno run --allow-read=./src index.ts
77
```

0 commit comments

Comments
 (0)