Skip to content

Commit d2a86ff

Browse files
authoredOct 2, 2024··
fix(workspace): ignore DS_Store by default (#6571)
1 parent b215788 commit d2a86ff

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

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

+7-1
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)
Please sign in to comment.