From 48172b0805ddc8316f1123e32e7b5102ebe3b346 Mon Sep 17 00:00:00 2001 From: Bobby Wibowo Date: Sun, 19 Apr 2020 21:48:56 +0700 Subject: [PATCH] Updated scripts/thumbs.js Warn users when verbose logging is disabled --- scripts/thumbs.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/thumbs.js b/scripts/thumbs.js index 95502e2..2ec58d9 100644 --- a/scripts/thumbs.js +++ b/scripts/thumbs.js @@ -58,6 +58,10 @@ self.getFiles = async directory => { return thumb.slice(0, -extname.length) }) + console.log(`Found ${thumbs.length} existing thumbnails (may include placeholder symlinks).`) + if (!self.verbose) + console.log('Verbose logging disabled! Please be patient, this script may appear to be frozen but is actually working in the background\u2026') + const succeeded = [] let error = 0 let skipped = 0