From 36915e046b3bd173bb9f7e1f8f18e5944fbb6796 Mon Sep 17 00:00:00 2001 From: Robin Tail Date: Tue, 1 Oct 2024 21:01:41 +0200 Subject: [PATCH] Ref: one is enough :). --- src/startup-logo.ts | 1 - tests/unit/startup-logo.spec.ts | 2 +- tsup.config.ts | 5 ----- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/startup-logo.ts b/src/startup-logo.ts index 055b3d40a..c5420fbcf 100644 --- a/src/startup-logo.ts +++ b/src/startup-logo.ts @@ -37,7 +37,6 @@ export const getStartupLogo = () => { ${dedicationMessage}888${slogan} ${thanks} ${process.env.DOCS_QR} -${process.env.GITHUB_QR} `; return logo diff --git a/tests/unit/startup-logo.spec.ts b/tests/unit/startup-logo.spec.ts index f3e071e23..92aa40b97 100644 --- a/tests/unit/startup-logo.spec.ts +++ b/tests/unit/startup-logo.spec.ts @@ -3,7 +3,7 @@ import { getStartupLogo } from "../../src/startup-logo"; describe("Startup logo", () => { describe("getStartupLogo()", () => { test("should return the logo", () => { - expect(getStartupLogo().split("\n").length).toBe(16); + expect(getStartupLogo().split("\n").length).toBe(15); }); }); }); diff --git a/tsup.config.ts b/tsup.config.ts index 99432a70f..c1ba3b6b3 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -10,10 +10,6 @@ const qrDocs = renderUnicodeCompact( `https://ez.robintail.cz/v${version}`, qrOptions, ); -const qrGithub = renderUnicodeCompact( - `https://github.com/RobinTail/express-zod-api/tree/v${version}`, - qrOptions, -); const commons: Options = { format: ["cjs", "esm"], @@ -45,7 +41,6 @@ export default defineConfig([ options.define = { "process.env.TSUP_BUILD": `"v${version} (${format.toUpperCase()})"`, "process.env.DOCS_QR": `"${qrDocs.replace(/\n/g, "\\n")}"`, - "process.env.GITHUB_QR": `"${qrGithub.replace(/\n/g, "\\n")}"`, }; }, },