From 2eddaa954e1f071b5f4b72908712dd7c14b301d9 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 7 Feb 2026 12:38:41 +0200 Subject: [PATCH] chore: address requested changes --- apps/icon-pack-builder/src/index.ts | 4 ++-- apps/website/src/components/Button.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/icon-pack-builder/src/index.ts b/apps/icon-pack-builder/src/index.ts index 028155489..789eaa419 100644 --- a/apps/icon-pack-builder/src/index.ts +++ b/apps/icon-pack-builder/src/index.ts @@ -1,5 +1,5 @@ import { createWriteStream, mkdirSync, writeFileSync } from "node:fs"; -import path, { join } from "node:path"; +import { join, resolve } from "node:path"; import cls from "@triliumnext/server/src/services/cls.js"; @@ -80,7 +80,7 @@ async function main() { ]; await Promise.all(builtIconPacks.map(buildIconPack)); - console.log(`\n✅ Built icon packs are available at ${path.resolve(outputDir)}.`); + console.log(`\n✅ Built icon packs are available at ${resolve(outputDir)}.`); } cls.init(() => { diff --git a/apps/website/src/components/Button.tsx b/apps/website/src/components/Button.tsx index 3611b93d0..935a5cdd2 100644 --- a/apps/website/src/components/Button.tsx +++ b/apps/website/src/components/Button.tsx @@ -41,7 +41,7 @@ export function Link({ openExternally, children, download, ...restProps }: LinkP {...restProps} target={openExternally || download ? "_blank" : undefined} download={download} - rel={openExternally ? "noopener noreferrer" : undefined} + rel={openExternally || download ? "noopener noreferrer" : undefined} > {children}