Skip to content

Commit

Permalink
Deno arguments are not in the correct order (#9139)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
smeubank committed Feb 15, 2024
1 parent 8b822e1 commit 60b9ac6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
```
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
To ensure the SDK can include your source code in stack traces, you should enable read access for your source files:

```bash
deno run index.ts --allow-read=./src
deno run --allow-read=./src index.ts
```

0 comments on commit 60b9ac6

Please sign in to comment.