From 3d65177dbcaf6d08c7e4a412beece8ee6939d466 Mon Sep 17 00:00:00 2001 From: tokiedokie Date: Sun, 4 Oct 2020 21:18:36 +0900 Subject: docs(std): version all imports in README (#7442) Use $STD_VERSION in std/ README files to automatically display proper version. --- std/path/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/path') diff --git a/std/path/README.md b/std/path/README.md index 88fcc227c..8877b7b6f 100644 --- a/std/path/README.md +++ b/std/path/README.md @@ -3,7 +3,7 @@ Usage: ```ts -import * as path from "https://deno.land/std/path/mod.ts"; +import * as path from "https://deno.land/std@$STD_VERSION/path/mod.ts"; ``` ### globToRegExp @@ -12,7 +12,7 @@ Generate a regex based on glob pattern and options This was meant to be using the the `fs.walk` function but can be used anywhere else. ```ts -import { globToRegExp } from "https://deno.land/std/path/glob.ts"; +import { globToRegExp } from "https://deno.land/std@$STD_VERSION/path/glob.ts"; globToRegExp("foo/**/*.json", { flags: "g", -- cgit v1.2.3