Updated thumbs.js

master
Bobby Wibowo 3 years ago
parent cc122f63b8
commit c36a76e981
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

@ -51,6 +51,7 @@ self.getFiles = async directory => {
cfcache: 0 = do not clear cloudflare cache (default), 1 = clear cloudflare cache
`))
console.log('Looking through existing thumbnails\u2026')
const uploads = await self.getFiles(paths.uploads)
let thumbs = await self.getFiles(paths.thumbs)
thumbs = thumbs.map(thumb => {
@ -60,7 +61,7 @@ self.getFiles = async directory => {
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')
console.log('Verbose logging disabled! Please be patient, this script may appear to be frozen but is actually working in the background.')
const succeeded = []
let error = 0

Loading…
Cancel
Save