Skip to content

Commit

Permalink
Ref: one is enough :).
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTail committed Oct 1, 2024
1 parent 6299f89 commit 36915e0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion src/startup-logo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export const getStartupLogo = () => {
${dedicationMessage}888${slogan}
${thanks}
${process.env.DOCS_QR}
${process.env.GITHUB_QR}
`;

return logo
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/startup-logo.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});
});
5 changes: 0 additions & 5 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down Expand Up @@ -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")}"`,
};
},
},
Expand Down

0 comments on commit 36915e0

Please sign in to comment.