diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2020-07-31 11:12:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-31 11:12:20 +0200 |
commit | 4afb4b6e46de2ed536a3c9828d70d7799b5b6d03 (patch) | |
tree | aa31f3ea3b5ca01a97e13a777eed51c7dcbd17c4 /docs/linking_to_external_code/reloading_modules.md | |
parent | 6e7208bec2911ac0d1729f334fc90bc50b8f9203 (diff) |
feat: add $STD_VERSION replacement variable in docs (#6922)
Diffstat (limited to 'docs/linking_to_external_code/reloading_modules.md')
-rw-r--r-- | docs/linking_to_external_code/reloading_modules.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/linking_to_external_code/reloading_modules.md b/docs/linking_to_external_code/reloading_modules.md index 136107a63..e96cfb0aa 100644 --- a/docs/linking_to_external_code/reloading_modules.md +++ b/docs/linking_to_external_code/reloading_modules.md @@ -17,17 +17,17 @@ deno cache --reload my_module.ts Sometimes we want to upgrade only some modules. You can control it by passing an argument to a `--reload` flag. -To reload all v0.55.0 standard modules +To reload all \$STD_VERSION standard modules ```ts -deno cache --reload=https://deno.land/std@v0.55.0 my_module.ts +deno cache --reload=https://deno.land/std@$STD_VERSION my_module.ts ``` To reload specific modules (in this example - colors and file system copy) use a comma to separate URLs ```ts -deno cache --reload=https://deno.land/std/fs/copy.ts,https://deno.land/std/fmt/colors.ts my_module.ts +deno cache --reload=https://deno.land/std@$STD_VERSION/fs/copy.ts,https://deno.land/std@$STD_VERSION/fmt/colors.ts my_module.ts ``` <!-- Should this be part of examples? --> |