mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
lint catch es6 escapes in core nodes
to fix twitter node and sqlite node
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-node-sqlite",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.2",
|
||||
"description": "A sqlite node for Node-RED",
|
||||
"dependencies": {
|
||||
"sqlite3": "^4.0.0"
|
||||
|
@@ -95,11 +95,11 @@ module.exports = function(RED) {
|
||||
}
|
||||
if (typeof msg.params == "undefined"){
|
||||
node.error("msg.params not passed");
|
||||
node.status({fill:"red",shape:"dot",text:"msg.params not passed",msg});
|
||||
node.status({fill:"red",shape:"dot",text:"msg.params not defined"});
|
||||
}
|
||||
else if (typeof msg.params != "object"){
|
||||
node.error("msg.params not an object");
|
||||
node.status({fill:"red",shape:"dot",text:"msg.params not an object",msg});
|
||||
node.status({fill:"red",shape:"dot",text:"msg.params not an object"});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user