Skip to content

Commit 4e15719

Browse files
micahbulemarcbachmann
authored andcommitted
Satisfying test for TravisCI
1 parent 9349b6f commit 4e15719

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/pdf.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ PDF.prototype.exec = function PdfExec (callback) {
122122
// Also, as per your script and standards, having a code value of 1 means one can always assume that
123123
// an error occured.
124124
if ((typeof code !== 'undefined' && code !== null) && code !== 0) {
125-
126-
var error = null;
125+
var error = null
127126

128127
if (err) {
129128
// Rudimentary checking if err is an instance of the Error class
@@ -137,7 +136,7 @@ PDF.prototype.exec = function PdfExec (callback) {
137136
var postfix = stderr.length ? '\n' + Buffer.concat(stderr).toString() : ''
138137
if (postfix) err.message += postfix
139138

140-
return callback(error);
139+
return callback(error)
141140
}
142141

143142
callback(null, data)

0 commit comments

Comments
 (0)