Skip to content

Commit 52f2e2d

Browse files
committed
Rename cliOptions to childProcessOptions
1 parent f1f78a5 commit 52f2e2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ config = {
145145
},
146146

147147
// To run Node application as Windows service
148-
"cliOptions": {
148+
"childProcessOptions": {
149149
"detached": true
150150
}
151151

lib/pdf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ PDF.prototype.toFile = function PdfToFile (filename, callback) {
8484
}
8585

8686
PDF.prototype.exec = function PdfExec (callback) {
87-
var child = childprocess.spawn(this.options.phantomPath, [].concat(this.options.phantomArgs, [this.script]), this.options.cliOptions)
87+
var child = childprocess.spawn(this.options.phantomPath, [].concat(this.options.phantomArgs, [this.script]), this.options.childProcessOptions)
8888
var stderr = []
8989

9090
var timeout = setTimeout(function execTimeout () {

0 commit comments

Comments
 (0)