Skip to content

Commit bb18559

Browse files
committed
fix(workspace): ignore DS_Store by default
1 parent 445367b commit bb18559

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/vitest/src/node/workspace/resolveWorkspace.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,13 @@ async function resolveWorkspaceProjectConfigs(
215215
onlyFiles: false,
216216
cwd: vitest.config.root,
217217
expandDirectories: false,
218-
ignore: ['**/node_modules/**', '**/*.timestamp-*'],
218+
ignore: [
219+
'**/node_modules/**',
220+
// temporary vite config file
221+
'**/*.timestamp-*',
222+
// macOS directory metadata
223+
'**/.DS_Store',
224+
],
219225
}
220226

221227
const workspacesFs = await glob(workspaceGlobMatches, globOptions)

0 commit comments

Comments
 (0)