Skip to content

TagSpaces is an offline, open source, document manager with tagging support

skip .ts folders by indexing

Ilian Sapundshiev91325d291e9c
diff --git a/app/splash-worker.js b/app/splash-worker.js
index d79e8bfe8..5ba756496 100644
--- a/app/splash-worker.js
+++ b/app/splash-worker.js
@@ -40,8 +40,10 @@ function init() {
}
directoryIndex.push(enhanceEntry(fileEntry));
}, (directoryEntry) => {
- counter += 1;
- directoryIndex.push(enhanceEntry(directoryEntry));
+ if (directoryEntry.name !== AppConfig.metaFolder) {
+ counter += 1;
+ directoryIndex.push(enhanceEntry(directoryEntry));
+ }
}).then(() => { // entries - can be used for further processing
window.walkCanceled = false;
console.log('Directory index created ' + arg.path + ' containing ' + directoryIndex.length);