mirror of
https://github.com/denoland/deno.git
synced 2025-02-19 11:52:52 -05:00

This code checks if permission flags are incorrectly defined after the module name (e.g. `deno run mod.ts --allow-read` instead of the correct `deno run --allow-read mod.ts`). If so, a simple warning is displayed.
4 lines
197 B
Text
4 lines
197 B
Text
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
|
|
Hello World
|