From 4afb4b6e46de2ed536a3c9828d70d7799b5b6d03 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Fri, 31 Jul 2020 11:12:20 +0200 Subject: feat: add $STD_VERSION replacement variable in docs (#6922) --- docs/runtime/compiler_apis.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/runtime/compiler_apis.md') diff --git a/docs/runtime/compiler_apis.md b/docs/runtime/compiler_apis.md index 31d0af2d1..8379d1b0d 100644 --- a/docs/runtime/compiler_apis.md +++ b/docs/runtime/compiler_apis.md @@ -48,7 +48,7 @@ could do on the command line. So you could do something like this: ```ts const [diagnostics, emitMap] = await Deno.compile( - "https://deno.land/std/examples/welcome.ts", + "https://deno.land/std@$STD_VERSION/examples/welcome.ts", ); ``` @@ -95,7 +95,7 @@ could do on the command line. So you could do something like this: ```ts const [diagnostics, emit] = await Deno.bundle( - "https://deno.land/std/http/server.ts", + "https://deno.land/std@$STD_VERSION/http/server.ts", ); ``` -- cgit v1.2.3