summaryrefslogtreecommitdiff
path: root/docs/tools
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2020-08-27 21:55:58 +0100
committerGitHub <noreply@github.com>2020-08-27 16:55:58 -0400
commit3d23208019a2c9faaf265ff13ad59f2d04f10079 (patch)
tree467108a71d83089168c3db126af6357a4e55e58f /docs/tools
parentbeec3ae09640769bfa286e5faf0f2c06d7ed2cc2 (diff)
fix(deno install): Strip "@..." suffixes from inferred names (#7223)
Diffstat (limited to 'docs/tools')
-rw-r--r--docs/tools/script_installer.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/tools/script_installer.md b/docs/tools/script_installer.md
index e588a39d6..a5f37659c 100644
--- a/docs/tools/script_installer.md
+++ b/docs/tools/script_installer.md
@@ -32,6 +32,7 @@ The executable name is inferred by default:
- If the file stem is something generic like 'main', 'mod', 'index' or 'cli',
and the path has no parent, take the file name of the parent path. Otherwise
settle with the generic name.
+- If the resulting name has an '@...' suffix, strip it.
To change the installation root, use `--root`: