Skip to content

Commit

Permalink
Prepare for compatibility with asciidoctor-pdf.js, related to asciido…
Browse files Browse the repository at this point in the history
  • Loading branch information
danyill committed Jan 28, 2020
1 parent 4677d67 commit 96274d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/exportAsPDF.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ export class ExportAsPDF implements Command {
var adocpdf_cmd = adocpdf_cmd_array[0]

var adocpdf_cmd_args = adocpdf_cmd_array.slice(1)
adocpdf_cmd_args.push.apply(adocpdf_cmd_args, ['-q', '-',
adocpdf_cmd_args.push.apply(adocpdf_cmd_args, ['-q',
'-B', '"' + docPath.dir.replace('"', '\\"') + '"',
'-o', '"' + pdfPath.replace('"', '\\"') + '"'
'-o', '"' + pdfPath.replace('"', '\\"') + '"', '-'
])

var options = { shell: true, cwd: docPath.dir }
Expand Down

0 comments on commit 96274d4

Please sign in to comment.