Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/api/send.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
} catch {
return reject({
message:
'Could parse result:' + Buffer.concat(data).toString('utf8')
'Could not parse result:' + Buffer.concat(data).toString('utf8')
});
}
}
Expand Down Expand Up @@ -85,14 +85,14 @@
} catch {
return reject({
message:
'Could parse result:' + Buffer.concat(data).toString('utf8')
'Could not parse result:' + Buffer.concat(data).toString('utf8')

Check failure on line 88 in lib/api/send.js

View workflow job for this annotation

GitHub Actions / build (20.x)

Insert `⏎·················`
});
}
}
});
})
.on('error', () => {
return reject();
.on('error', error => {
return reject({ message: error.toString() });
});
});
}
Loading