Skip to content

Commit

Permalink
fix(workspace): ignore DS_Store by default (#6571)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va authored Oct 2, 2024
1 parent b215788 commit d2a86ff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/vitest/src/node/workspace/resolveWorkspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,13 @@ async function resolveWorkspaceProjectConfigs(
onlyFiles: false,
cwd: vitest.config.root,
expandDirectories: false,
ignore: ['**/node_modules/**', '**/*.timestamp-*'],
ignore: [
'**/node_modules/**',
// temporary vite config file
'**/*.timestamp-*',
// macOS directory metadata
'**/.DS_Store',
],
}

const workspacesFs = await glob(workspaceGlobMatches, globOptions)
Expand Down

0 comments on commit d2a86ff

Please sign in to comment.