Skip to content

Commit

Permalink
feat: ignore os hidden files by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k committed Aug 28, 2021
1 parent 0425324 commit 8bb6264
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/IndexGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export class IndexGenerator {
onlyFiles: false,
// TODO: fix https://github.com/sindresorhus/globby/issues/133
gitignore: false,
// ignore os hidden files by default
ignore: ['**/{.DS_Store,Thumbs.db,desktop.ini}'],
...(marker.globbyOptions || {}),
cwd: fileDir,
absolute: true,
Expand Down

0 comments on commit 8bb6264

Please sign in to comment.