File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ PDF.prototype.exec = function PdfExec (callback) {
130130 // Rudimentary checking if err is an instance of the Error class
131131 error = err instanceof Error ? err : new Error ( err )
132132 } else if ( code === 0 && ! data ) {
133- // This is to catch the edge case of having an exit code value of 0 but not having data (exit can be called before io pipes are closed)
133+ // This is to catch the edge case of having a exit code value of 0 but having no data (exit can be called before io pipes are closed)
134134 error = new Error ( 'html-pdf: Process exited successfully, but no data received' )
135135 } else {
136136 // This is to catch the edge case of having an exit code value of 1 but having no error
Original file line number Diff line number Diff line change 11{
22 "name" : " html-pdf" ,
3- "version" : " 3.0.1 " ,
3+ "version" : " 3.0.2-kv " ,
44 "description" : " HTML to PDF converter that uses phantomjs" ,
55 "engines" : {
66 "node" : " >=4.0.0"
You can’t perform that action at this time.
0 commit comments