Skip to content

Build your personal knowledge base with Trilium Notes

chore: address requested changes

Elian Doran2eddaa954e1f
diff --git a/apps/icon-pack-builder/src/index.ts b/apps/icon-pack-builder/src/index.ts
index 0281554892..789eaa4197 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 3611b93d0a..935a5cdd20 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}
</a>