Skip to content

Commit

Permalink
fix update path for isGlob
Browse files Browse the repository at this point in the history
  • Loading branch information
minioin committed Mar 23, 2024
1 parent 8df891c commit 2ca0e6d
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 18 deletions.
43 changes: 27 additions & 16 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,34 +1,43 @@
{
"compilerOptions": {
"allowJs": false,
"lib": ["deno.window"],
"lib": [
"deno.window"
],
"strict": true
},
"imports": {
"download": "https://deno.land/x/download/mod.ts",
"@/": "./",
"@std/path": "jsr:@std/path@^0.220.1",
"denomander": "https://deno.land/x/denomander/mod.ts",
"download": "https://deno.land/x/download/mod.ts",
"encoding/": "https://deno.land/[email protected]/encoding/",
"esm.sh/": "https://esm.sh/",
"exec": "https://deno.land/x/exec/mod.ts",
"fs/": "https://deno.land/[email protected]/fs/",
"lodash": "https://x.nest.land/[email protected]/mod.ts",
"fuse": "https://cdn.jsdelivr.net/npm/[email protected]/dist/fuse.esm.js",
"github.com/": "https://raw.githubusercontent.com/",
"github/": "https://raw.githubusercontent.com/",
"http/": "https://deno.land/[email protected]/http/",
"jspm.io/": "https://dev.jspm.io/",
"lodash": "https://x.nest.land/[email protected]/mod.ts",
"opn": "https://denopkg.com/hashrock/deno-opn/opn.ts",
"std/": "https://deno.land/[email protected]/",
"x/": "https://deno.land/x/",
"github/": "https://raw.githubusercontent.com/",
"@/": "./",
"encoding/": "https://deno.land/[email protected]/encoding/",
"fuse": "https://cdn.jsdelivr.net/npm/[email protected]/dist/fuse.esm.js",
"path/": "https://deno.land/[email protected]/path/",
"std/": "https://deno.land/[email protected]/",
"stdx/": "https://deno.land/x/",
"esm.sh/": "https://esm.sh/",
"jspm.io/": "https://dev.jspm.io/",
"github.com/": "https://raw.githubusercontent.com/"
"x/": "https://deno.land/x/"
},
"lint": {
"rules": {
"tags": ["recommended"],
"include": ["ban-untagged-todo"],
"exclude": ["no-unused-vars"]
"tags": [
"recommended"
],
"include": [
"ban-untagged-todo"
],
"exclude": [
"no-unused-vars"
]
}
},
"tasks": {
Expand All @@ -38,7 +47,9 @@
"fmt": {
"files": {
"include": [],
"exclude": ["src/testdata/"]
"exclude": [
"src/testdata/"
]
},
"options": {
"lineWidth": 80,
Expand Down
11 changes: 11 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions lib/glob.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { isGlob } from "https://deno.land/std/path/glob.ts";

import { isGlob } from "@std/path/is_glob";
export function expand(i: string) {
const result = [];
// Does not support wildcard
Expand Down

0 comments on commit 2ca0e6d

Please sign in to comment.