File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ PDF.prototype.exec = function PdfExec (callback) {
130
130
// Rudimentary checking if err is an instance of the Error class
131
131
error = err instanceof Error ? err : new Error ( err )
132
132
} 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)
134
134
error = new Error ( 'html-pdf: Process exited successfully, but no data received' )
135
135
} else {
136
136
// 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 1
1
{
2
2
"name" : " html-pdf" ,
3
- "version" : " 3.0.1 " ,
3
+ "version" : " 3.0.2-kv " ,
4
4
"description" : " HTML to PDF converter that uses phantomjs" ,
5
5
"engines" : {
6
6
"node" : " >=4.0.0"
You can’t perform that action at this time.
0 commit comments