From 9df569b22c98caaad2f04e5c441e2f29f80a45cb Mon Sep 17 00:00:00 2001 From: Angel Wang Date: Mon, 22 Jun 2026 23:23:06 -0600 Subject: [PATCH] fix(analyze): remove unneeded fromFileUrls --- src/analyze/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/analyze/index.ts b/src/analyze/index.ts index 9f737da..e30fb56 100755 --- a/src/analyze/index.ts +++ b/src/analyze/index.ts @@ -6,7 +6,6 @@ import { type ImageAnalysisData, runPreAnalysis, } from "./analysis.ts" -import * as path from "@std/path" import "zx/globals" console.debug(chalkDebug(`Trying to load config from ${analyzeConfigPath}...`)) @@ -29,6 +28,6 @@ const imageData = { files: [] } as ImageAnalysisData await runPreAnalysis(config.preAnalysisCommands) -await analyzeImages(path.fromFileUrl(config.imageDir), imageData, cachePath) +await analyzeImages(config.imageDir, imageData, cachePath) -await fs.rm(path.fromFileUrl(`${cachePath}.bak`), { force: true }) +await fs.rm(`${cachePath}.bak`, { force: true }) -- 2.51.2