fix(compilar): bug pedorro

This commit is contained in:
Cat /dev/Nulo 2022-12-20 17:25:10 -03:00
parent 8934c12798
commit 9accce156b
1 changed files with 2 additions and 2 deletions

View File

@ -9,6 +9,8 @@ const execFile = promisify(execFileCallback);
const reader = new commonmark.Parser({ smart: true });
const writer = new commonmark.HtmlRenderer({ safe: false, smart: true });
const wikilinkExp = /\[\[(.+?)\]\]/giu;
const compilers: {
[key: string]: (config: Config, sourceFileName: string) => Promise<string>;
} = {
@ -187,8 +189,6 @@ interface Connection {
linker: string;
}
const wikilinkExp = /\[\[(.+?)\]\]/giu;
async function scanForConnections(sourcePath: string): Promise<Connection[]> {
const dir = await opendir(sourcePath);
let connections: Connection[] = [];