Skip to content

Commit

Permalink
Deno arguments are not in the correct order
Browse files Browse the repository at this point in the history
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".````
  • Loading branch information
smeubank authored Feb 14, 2024
1 parent 4a60351 commit 6f0d165
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 6f0d165

Please sign in to comment.