summaryrefslogtreecommitdiff
path: root/docs/tools/script_installer.md
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2020-05-10 03:09:42 +0200
committerGitHub <noreply@github.com>2020-05-10 03:09:42 +0200
commit45f9b32ef0416e0477e9f5335df49ca3cccdb6eb (patch)
treeb04cab2d36b39932320f9e95537910b8742f32f7 /docs/tools/script_installer.md
parentf6b617784f53497b0c59d6f6f1370cb2223e38f3 (diff)
Docs for deno test + minor other changes (#5185)
* Added fs events example. * Added docs for `deno test`. * Renamed file server example. * Unified markdown code types. * Removed plugin topics from TOC. * Fixed links.
Diffstat (limited to 'docs/tools/script_installer.md')
-rw-r--r--docs/tools/script_installer.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/tools/script_installer.md b/docs/tools/script_installer.md
index ffd920cf3..6badd6436 100644
--- a/docs/tools/script_installer.md
+++ b/docs/tools/script_installer.md
@@ -61,9 +61,8 @@ $ deno install --allow-net --allow-read https://deno.land/std/http/file_server.t
The above command creates an executable called `file_server` that runs with
write and read permissions and binds to port 8080.
-For good practice, use the
-[`import.meta.main`](#testing-if-current-file-is-the-main-program) idiom to
-specify the entry point in an executable script.
+For good practice, use the [`import.meta.main`](../examples/testing_if_main.md)
+idiom to specify the entry point in an executable script.
Example: