From 45f9b32ef0416e0477e9f5335df49ca3cccdb6eb Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Sun, 10 May 2020 03:09:42 +0200 Subject: 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. --- docs/tools/script_installer.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs/tools/script_installer.md') 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: -- cgit v1.2.3