Skip to content

Commit

Permalink
fix(core): fix ignore pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz authored Jun 17, 2021
1 parent 512eb53 commit 9c0377c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/storage/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function sortItemKeys(keys: string[]) {
export const docusDriver = defineDriver((options: DriverOptions) => {
// force ignore node_modules and .git and files with `.` prefix
if (options.ignore) {
options.ignore.push('**/node_modules/**', '**/.git/**', join(options.base, '**/.**/**'))
options.ignore.push('**/node_modules/**', '**/.git/**', join(options.base, '**/.**'))
}

const { insert, items } = useDB()
Expand Down

1 comment on commit 9c0377c

@vercel
Copy link

@vercel vercel bot commented on 9c0377c Jun 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.