Skip to content

Commit b7d4136

Browse files
committed
docs: update readme
1 parent 99a3913 commit b7d4136

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,9 @@ console.log(`Hello from ${$.blue.bold("worker")}!`);
219219
- **path:** Deno's `std/path` module.
220220

221221
```ts
222-
console.log(path.basename(import.meta.url));
222+
const basename = path.basename(import.meta.url);
223+
const options: path.GlobToRegExpOptions = { os: "linux" };
224+
const regex: RegExp = path.globToRegExp("*.ts", options);
223225
```
224226

225227
- **io:** Deno's `std/io` module.

0 commit comments

Comments
 (0)