Skip to content

Commit

Permalink
Fix broken isPrinterConnected() function calling undefined function e…
Browse files Browse the repository at this point in the history
…xists().
  • Loading branch information
dustinbolton committed Jun 7, 2016
1 parent 6878b6f commit b128dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-thermal-printer.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ module.exports = {
if(printerConfig.interface){
var fs = require('fs');
fs.exists(printerConfig.interface, function(ex){
exists(ex);
return ex;
});
}

Expand Down

0 comments on commit b128dc4

Please sign in to comment.