Skip to content

Commit

Permalink
fix(workspace): ignore DS_Store by default
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Sep 25, 2024
1 parent 445367b commit bb18559
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 bb18559

Please sign in to comment.