Skip to content

Commit 91ef543

Browse files
committed
Add phantomArgs option
1 parent 2e18e88 commit 91ef543

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pdf.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ module.exports = class PDF
6969

7070

7171
exec: (callback) ->
72-
child = childprocess.spawn(@options.phantomPath, [@script])
72+
child = childprocess.spawn(@options.phantomPath, [@script].concat(@options.phantomArgs))
7373
stdout = []
7474
stderr = []
7575

0 commit comments

Comments
 (0)