fix: marked --help (#2991)
This commit is contained in:
parent
a0804695b2
commit
43643b3a00
@ -32,7 +32,7 @@ export async function main(nodeProcess) {
|
||||
};
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const helpText = await readFile(resolve(__dirname, '../man/marked.1.txt'), 'utf8');
|
||||
const helpText = await readFile(resolve(__dirname, '../man/marked.1.md'), 'utf8');
|
||||
|
||||
// eslint-disable-next-line promise/param-names
|
||||
await new Promise(res => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user