chore: address requested changes

This commit is contained in:
Elian Doran 2026-02-07 12:38:41 +02:00
parent 2c472fd03f
commit 2eddaa954e
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -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(() => {

View File

@ -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>