summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorzjopy <33468089+zjopy@users.noreply.github.com>2020-05-07 13:48:48 +0200
committerGitHub <noreply@github.com>2020-05-07 13:48:48 +0200
commit761b7efb3b8a140caad12803619a2e8a535cc178 (patch)
treec046d2fe25453713284e1670f10ceae05bac2673 /docs
parent34ec3b225425cecdccf754fbc87f4a8f3728890d (diff)
fix(docs): add missing "deno run" (#5126)
Diffstat (limited to 'docs')
-rw-r--r--docs/contributing/building_from_source.md2
-rw-r--r--docs/tools/bundler.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/contributing/building_from_source.md b/docs/contributing/building_from_source.md
index fb1e1ef2c..62bbf2303 100644
--- a/docs/contributing/building_from_source.md
+++ b/docs/contributing/building_from_source.md
@@ -85,5 +85,5 @@ cargo build -vv
cargo clean && cargo build -vv
# Run:
-./target/debug/deno cli/tests/002_hello.ts
+./target/debug/deno run cli/tests/002_hello.ts
```
diff --git a/docs/tools/bundler.md b/docs/tools/bundler.md
index 0844dfd5e..72a492132 100644
--- a/docs/tools/bundler.md
+++ b/docs/tools/bundler.md
@@ -15,7 +15,7 @@ If you omit the out file, the bundle will be sent to `stdout`.
The bundle can just be run as any other module in Deno would:
```
-deno colors.bundle.js
+deno run colors.bundle.js
```
The output is a self contained ES Module, where any exports from the main module