From f5b261c6f7ab9a78ce9e098d8de0d545cb679e3a Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sun, 8 Sep 2024 23:05:43 +0200 Subject: [PATCH] syntax fixing img-opt.js --- utils/img-opt.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/img-opt.js b/utils/img-opt.js index c523da8..a1ebcf9 100644 --- a/utils/img-opt.js +++ b/utils/img-opt.js @@ -1,6 +1,6 @@ -import { run } from "jsr:@std/path@0.224.0/mod.ts"; -import { join } from "jsr:@std/path@0.224.0/path/mod.ts"; -import { emptyDir } from "jsr:@std/path@0.224.0/fs/empty_dir.ts"; +import { run } from "jsr:@std/path@0.224.0"; +import { join } from "jsr:@std/path@0.224.0"; +import { emptyDir } from "jsr:@std/fs@0.224.0"; async function optimizeDir (dir, sizes) { await emptyDir(join(dir, 'thumbs'))