bump of std version to 0.224.0 in img-opt.js

This commit is contained in:
niclaz 2024-08-31 03:47:03 +02:00 committed by GitHub
parent a6b20e9bfd
commit 0b69af2931
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
import { run } from "https://deno.land/x/run_simple/mod.ts"; import { run } from "https://deno.land/x/run_simple/mod.ts";
import { join } from "https://deno.land/std@0.208.0/path/mod.ts"; import { join } from "https://deno.land/std@0.224.0/path/mod.ts";
import { emptyDir } from "https://deno.land/std@0.196.0/fs/empty_dir.ts"; import { emptyDir } from "https://deno.land/std@0.224.0/fs/empty_dir.ts";
async function optimizeDir (dir, sizes) { async function optimizeDir (dir, sizes) {
await emptyDir(join(dir, 'thumbs')) await emptyDir(join(dir, 'thumbs'))