skip .DS_Store
This commit is contained in:
parent
c689235ff0
commit
6e282c86af
@ -13,7 +13,14 @@ export interface ObsConfigDirFileType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const isFolderToSkip = (x: string) => {
|
const isFolderToSkip = (x: string) => {
|
||||||
let specialFolders = [".git", ".github", ".gitlab", ".svn", "node_modules"];
|
let specialFolders = [
|
||||||
|
".git",
|
||||||
|
".github",
|
||||||
|
".gitlab",
|
||||||
|
".svn",
|
||||||
|
"node_modules",
|
||||||
|
".DS_Store",
|
||||||
|
];
|
||||||
for (const iterator of specialFolders) {
|
for (const iterator of specialFolders) {
|
||||||
if (
|
if (
|
||||||
x === iterator ||
|
x === iterator ||
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user