diff --git a/src/core/storage/driver.ts b/src/core/storage/driver.ts index 7419ccb78..b53ce899e 100644 --- a/src/core/storage/driver.ts +++ b/src/core/storage/driver.ts @@ -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()