From d9aa2b32b9ad48b463b132de644abefddf71c8c9 Mon Sep 17 00:00:00 2001 From: Samuel Cloete Date: Fri, 26 Oct 2018 09:44:49 +0300 Subject: [PATCH] Fix for running rebuild-schema-manifest.js script on a mac --- doctored/schemas/rebuild-schema-manifest.js | 1 + 1 file changed, 1 insertion(+) diff --git a/doctored/schemas/rebuild-schema-manifest.js b/doctored/schemas/rebuild-schema-manifest.js index 59a4338..706eb3e 100644 --- a/doctored/schemas/rebuild-schema-manifest.js +++ b/doctored/schemas/rebuild-schema-manifest.js @@ -38,6 +38,7 @@ file = files[i]; if(blacklist.indexOf(file) >= 0) continue; if(path.extname(file) === ".json") continue; + if (path.basename(file) === ".DS_Store") continue; full_path = path.join(current_directory, file); if(fs.lstatSync(full_path).isDirectory()) { manifest.push({