mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
bump snap package to release PR
This commit is contained in:
parent
0f7e8385b8
commit
4168fe7845
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-snmp",
|
||||
"version" : "0.0.10",
|
||||
"version" : "0.0.11",
|
||||
"description" : "A Node-RED node that looks for SNMP oids.",
|
||||
"dependencies" : {
|
||||
"net-snmp" : "^1.1.19"
|
||||
@ -22,6 +22,7 @@
|
||||
"url": "http://nodered.org"
|
||||
},
|
||||
"contributors": [
|
||||
{ "name": "Mika Karalia" }
|
||||
{ "name": "Mika Karalia" },
|
||||
{ "name": "Bryan Malyn" }
|
||||
]
|
||||
}
|
||||
|
@ -45,9 +45,9 @@ module.exports = function(RED) {
|
||||
node.warn("No oid(s) to search for");
|
||||
}
|
||||
});
|
||||
|
||||
this.on("close", function(){
|
||||
if (node.session){
|
||||
|
||||
this.on("close", function() {
|
||||
if (node.session) {
|
||||
node.session.close();
|
||||
}
|
||||
});
|
||||
@ -113,9 +113,9 @@ module.exports = function(RED) {
|
||||
node.warn("No oid to search for");
|
||||
}
|
||||
});
|
||||
|
||||
this.on("close", function(){
|
||||
if (node.session){
|
||||
|
||||
this.on("close", function() {
|
||||
if (node.session) {
|
||||
node.session.close();
|
||||
}
|
||||
});
|
||||
@ -170,9 +170,9 @@ module.exports = function(RED) {
|
||||
node.warn("No oid to search for");
|
||||
}
|
||||
});
|
||||
|
||||
this.on("close", function(){
|
||||
if (node.session){
|
||||
|
||||
this.on("close", function() {
|
||||
if (node.session) {
|
||||
node.session.close();
|
||||
}
|
||||
});
|
||||
@ -228,9 +228,9 @@ module.exports = function(RED) {
|
||||
node.warn("No oid to search for");
|
||||
}
|
||||
});
|
||||
|
||||
this.on("close", function(){
|
||||
if (node.session){
|
||||
|
||||
this.on("close", function() {
|
||||
if (node.session) {
|
||||
node.session.close();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user