mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-12-26 23:16:47 +01:00
more linting
This commit is contained in:
@@ -70,7 +70,9 @@ module.exports = function(RED) {
|
||||
if (this.pin == 0) {
|
||||
this.user1_green.close();
|
||||
this.user1_red.close();
|
||||
} if(this.pin == 1) {
|
||||
}
|
||||
|
||||
if (this.pin == 1) {
|
||||
this.user2_green.close();
|
||||
this.user2_red.close();
|
||||
}
|
||||
|
||||
@@ -21,8 +21,8 @@ module.exports = function(RED) {
|
||||
});
|
||||
|
||||
noble.on('scanStart', function(msg) {
|
||||
let msg = {};
|
||||
msg.topic = node.topic;
|
||||
msg = {};
|
||||
msg.topic = node.topic || msg.topic;
|
||||
msg.payload = "Scanning initiated..." //debugging
|
||||
//console.log('scanning initiated...');
|
||||
node.send(msg);
|
||||
|
||||
Reference in New Issue
Block a user