mirror of
https://github.com/zadam/trilium.git
synced 2026-02-11 16:24:27 +01:00
chore: address requested changes
This commit is contained in:
parent
2c472fd03f
commit
2eddaa954e
@ -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(() => {
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user