Skip to content

Commit

Permalink
fix: change glob ignores server pattern (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin authored Aug 23, 2024
1 parent e476c0a commit b4d4491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ function buildGlobPatterns(globPatterns?: string[]) {
function buildGlobIgnores(globIgnores?: string[]) {
if (globIgnores) {
if (!globIgnores.some(g => g.startsWith('server/')))
globIgnores.push('server/*.*')
globIgnores.push('server/**')

return globIgnores
}

return ['server/*.*']
return ['server/**']
}

0 comments on commit b4d4491

Please sign in to comment.