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