Skip to content

Commit

Permalink
Set input file as first argument rather than last
Browse files Browse the repository at this point in the history
  • Loading branch information
FeralFlora authored and mokeyish committed Feb 29, 2024
1 parent 36acb48 commit 2bb2059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exporto0o.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export async function exportToOo(

const cmdTpl =
setting.type === 'pandoc'
? `${pandocPath} ${setting.arguments ?? ''} ${setting.customArguments ?? ''} "\${currentPath}"`
? `${pandocPath} "\${currentPath}" ${setting.arguments ?? ''} ${setting.customArguments ?? ''}`
: setting.command;

const cmd = renderTemplate(cmdTpl, variables);
Expand Down

0 comments on commit 2bb2059

Please sign in to comment.