From dfa3826ec5cf064297ea58a912faf58530ebfb56 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Tue, 28 Oct 2025 20:36:03 +0100 Subject: [PATCH] chore: use same fs version everywhere --- lib/image.ts | 2 +- lib/log/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/image.ts b/lib/image.ts index 01ac210..6a1e2b4 100644 --- a/lib/image.ts +++ b/lib/image.ts @@ -3,7 +3,7 @@ import { createLogger } from "@lib/log/index.ts"; import { generateThumbhash } from "@lib/thumbhash.ts"; import { parseMediaType } from "https://deno.land/std@0.224.0/media_types/parse_media_type.ts"; import path from "node:path"; -import { ensureDir } from "https://deno.land/std@0.216.0/fs/mod.ts"; +import { ensureDir } from "fs"; import { DATA_DIR } from "@lib/env.ts"; import { db } from "@lib/db/sqlite.ts"; import { imageTable } from "@lib/db/schema.ts"; diff --git a/lib/log/constants.ts b/lib/log/constants.ts index 6de835a..b50ea66 100644 --- a/lib/log/constants.ts +++ b/lib/log/constants.ts @@ -1,5 +1,5 @@ import * as env from "@lib/env.ts"; -import { ensureDir } from "https://deno.land/std@0.224.0/fs/mod.ts"; +import { ensureDir } from "fs"; import { join } from "node:path"; import { getLogLevel, LOG_LEVEL } from "@lib/log/types.ts";