From fef66dfd3c1f692d2410a8b1fab73ef783a295a3 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Tue, 2 Feb 2021 23:22:19 -0600 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20rescan=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helpers/app-files-scanner.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helpers/app-files-scanner.js b/helpers/app-files-scanner.js index 5571403..f10b9a4 100644 --- a/helpers/app-files-scanner.js +++ b/helpers/app-files-scanner.js @@ -293,6 +293,10 @@ export default class AppFilesScanner { // Scan for archives await Promise.all( this.files.map( async (file, scanIndex) => { + // If we've already scanned this + // then skip + if ( file.status === 'finished' ) return + if ( !this.isApp( file ) ) { file.statusMessage = '⏭ Skipped. Not app or archive' file.status = 'finished'