mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Make Rawserial node fail more quietly
This commit is contained in:
parent
c128184d6a
commit
5cd7a73baf
@ -23,7 +23,8 @@ module.exports = function(RED) {
|
||||
var pre = "\\\\.\\";
|
||||
|
||||
if (!plat.match(/^win/)) {
|
||||
util.log("[26-rawserial.js] Info : only really needed for Windows boxes without serialport npm module installed.");
|
||||
throw "Info : only really needed for Windows boxes without serialport npm module installed.";
|
||||
//util.log("[26-rawserial.js] Info : only really needed for Windows boxes without serialport npm module installed.");
|
||||
pre = "";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user