From e9913e271d4b7452a4b4bebdabc25587e7ed73f7 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 20 Dec 2025 21:00:59 -0400 Subject: thumbs: quickstat here ofc (sob) --- src/gen-thumbs.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src/gen-thumbs.js') diff --git a/src/gen-thumbs.js b/src/gen-thumbs.js index 18f88ce6..09f50881 100644 --- a/src/gen-thumbs.js +++ b/src/gen-thumbs.js @@ -149,21 +149,15 @@ const thumbnailSpec = { import {spawn} from 'node:child_process'; import {createHash} from 'node:crypto'; import {createReadStream} from 'node:fs'; +import {mkdir, readFile, rename, writeFile} + from 'node:fs/promises'; import * as path from 'node:path'; -import { - mkdir, - readdir, - readFile, - rename, - stat, - writeFile, -} from 'node:fs/promises'; - import dimensionsOf from 'image-size'; import {stringifyCache} from '#cli'; import {commandExists, isMain, promisifyProcess, traverse} from '#node-utils'; +import {readdir, stat} from '#quickstat'; import {sortByName} from '#sort'; import {delay, empty, filterMultipleArrays, queue, stitchArrays, unique} from '#sugar'; -- cgit 1.3.0-6-gf8a5