From a5c4272469400c93a262f2a392c79d4aa19fc048 Mon Sep 17 00:00:00 2001 From: Xanazf Date: Fri, 25 Oct 2024 05:57:51 +0300 Subject: [PATCH] footer links changed, === in config/io --- src/components/Footer.astro | 2 +- src/config/io/generateTypeData.ts | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 273b0a2..f040204 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -6,7 +6,7 @@ import gitLogo from "@icons/git-logo.svg?raw";

Brought to you by:

outfoxxed - Lead Developer - Xanazf - Website Developer / Designer + Xanazf - Website Developer / Designer and our contributors diff --git a/src/config/io/generateTypeData.ts b/src/config/io/generateTypeData.ts index 240150e..8d2cf0f 100644 --- a/src/config/io/generateTypeData.ts +++ b/src/config/io/generateTypeData.ts @@ -33,8 +33,10 @@ async function readSubdir(subdir: string): Promise { async function generateTypeData(): Promise { const mainDir = import.meta.env.SECRET_MODULES_PATH; - if (!mainDir || mainDir == "") { - throw new Error("Cannot generate types, missing SECRET_MODULES_PATH"); + if (!mainDir || mainDir === "") { + throw new Error( + "Cannot generate types, missing SECRET_MODULES_PATH" + ); } const subdirs = await fs.readdir(mainDir, {