mirror of
https://github.com/web3privacy/data
synced 2024-10-15 18:16:28 +02:00
syntax fixing img-opt.js
This commit is contained in:
parent
15c48e5980
commit
f5b261c6f7
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
import { run } from "jsr:@std/path@0.224.0/mod.ts";
|
import { run } from "jsr:@std/path@0.224.0";
|
||||||
import { join } from "jsr:@std/path@0.224.0/path/mod.ts";
|
import { join } from "jsr:@std/path@0.224.0";
|
||||||
import { emptyDir } from "jsr:@std/path@0.224.0/fs/empty_dir.ts";
|
import { emptyDir } from "jsr:@std/fs@0.224.0";
|
||||||
|
|
||||||
async function optimizeDir (dir, sizes) {
|
async function optimizeDir (dir, sizes) {
|
||||||
await emptyDir(join(dir, 'thumbs'))
|
await emptyDir(join(dir, 'thumbs'))
|
||||||
|
|
Loading…
Reference in a new issue