1
0
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:
Dave Conway-Jones 2017-04-15 12:14:34 +01:00
parent 0f7e8385b8
commit 4168fe7845
No known key found for this signature in database
GPG Key ID: 81B04231572A9A2D
2 changed files with 15 additions and 14 deletions

View File

@ -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" }
]
}

View File

@ -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();
}
});