summaryrefslogtreecommitdiff
path: root/std/path
diff options
context:
space:
mode:
authortokiedokie <thetokiedokie@gmail.com>2020-10-04 21:18:36 +0900
committerGitHub <noreply@github.com>2020-10-04 14:18:36 +0200
commit3d65177dbcaf6d08c7e4a412beece8ee6939d466 (patch)
tree53b5954f612daa559f8e893471083f854ea63464 /std/path
parentec963238230c7f92a29da27ced0a2ec706af92d0 (diff)
docs(std): version all imports in README (#7442)
Use $STD_VERSION in std/ README files to automatically display proper version.
Diffstat (limited to 'std/path')
-rw-r--r--std/path/README.md4
1 files changed, 2 insertions, 2 deletions
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",