Skip to content

Commit

Permalink
dev: Lint and test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
idreyn committed May 25, 2022
1 parent e4bcd40 commit 768005d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export let PANDOC_API_VERSION = [1, 22, 1];
export let PANDOC_API_VERSION = [1, 22, 2];

export const setPandocApiVersion = (version) => {
PANDOC_API_VERSION = version;
Expand Down
10 changes: 9 additions & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ export const callPandoc = (
) => {
return spawnSync(
"pandoc",
["-f", inputFormat, "-t", outputFormat, "--quiet", "--wrap=none", ...extraArgs],
[
"-f",
inputFormat,
"-t",
outputFormat,
"--quiet",
"--wrap=none",
...extraArgs,
],
{ input: source, maxBuffer: MAX_BUFFER }
).stdout.toString();
};
Expand Down

0 comments on commit 768005d

Please sign in to comment.