summaryrefslogtreecommitdiff
path: root/docs/tools/script_installer.md
diff options
context:
space:
mode:
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: