mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 17:21:33 +00:00
Updated thumbs.js
This commit is contained in:
parent
cc122f63b8
commit
c36a76e981
@ -51,6 +51,7 @@ self.getFiles = async directory => {
|
|||||||
cfcache: 0 = do not clear cloudflare cache (default), 1 = clear cloudflare cache
|
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)
|
const uploads = await self.getFiles(paths.uploads)
|
||||||
let thumbs = await self.getFiles(paths.thumbs)
|
let thumbs = await self.getFiles(paths.thumbs)
|
||||||
thumbs = thumbs.map(thumb => {
|
thumbs = thumbs.map(thumb => {
|
||||||
@ -60,7 +61,7 @@ self.getFiles = async directory => {
|
|||||||
|
|
||||||
console.log(`Found ${thumbs.length} existing thumbnails (may include placeholder symlinks).`)
|
console.log(`Found ${thumbs.length} existing thumbnails (may include placeholder symlinks).`)
|
||||||
if (!self.verbose)
|
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 = []
|
const succeeded = []
|
||||||
let error = 0
|
let error = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user