Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Commit 254b410

Browse files
committed
fix(kit): pass resolved path to isIgnored
1 parent 27a0084 commit 254b410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kit/src/resolve.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,5 +148,5 @@ async function existsSensitive (path: string) {
148148

149149
export async function resolveFiles (path: string, pattern: string | string[]) {
150150
const files = await globby(pattern, { cwd: path, followSymbolicLinks: true })
151-
return files.filter(p => !isIgnored(p)).map(p => resolve(path, p))
151+
return files.map(p => resolve(path, p)).filter(p => !isIgnored(p))
152152
}

0 commit comments

Comments
 (0)