We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d18eb46 commit 303c13dCopy full SHA for 303c13d
src/core/pandoc/self-contained.ts
@@ -36,7 +36,9 @@ export const pandocIngestSelfContainedContent = async (
36
cmd.push("--output", filename);
37
cmd.push("--metadata", "title=placeholder");
38
cmd.push("--embed-resources");
39
- resourcePath ? cmd.push("--resource-path", resourcePath.join(":")) : null;
+ if (resourcePath && resourcePath.length) {
40
+ cmd.push("--resource-path", resourcePath.join(":"));
41
+ }
42
const result = await execProcess({
43
cmd,
44
stdout: "piped",
0 commit comments