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}