fix(compilar): bug pedorro
This commit is contained in:
parent
8934c12798
commit
9accce156b
1 changed files with 2 additions and 2 deletions
|
@ -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[] = [];
|
||||
|
|
Reference in a new issue