From 6e282c86aff0b526514dbd71dc67d0b7bab2b113 Mon Sep 17 00:00:00 2001 From: fyears <1142836+fyears@users.noreply.github.com> Date: Sun, 17 Dec 2023 23:50:52 +0800 Subject: [PATCH] skip .DS_Store --- src/obsFolderLister.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/obsFolderLister.ts b/src/obsFolderLister.ts index 31e53aa..ce1671b 100644 --- a/src/obsFolderLister.ts +++ b/src/obsFolderLister.ts @@ -13,7 +13,14 @@ export interface ObsConfigDirFileType { } 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) { if ( x === iterator ||