mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Couple of typos in DigiSpark node and swearfilter node
This commit is contained in:
parent
793fd3c7fd
commit
4375b32b84
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
**/
|
||||
|
||||
var RED = require("../../red/red");
|
||||
var RED = require(process.env.NODE_RED_HOME+"/red/red");
|
||||
var badwords = require('badwords');
|
||||
|
||||
function BadwordsNode(n) {
|
||||
|
@ -63,6 +63,7 @@ function DigiRGBNode(n) {
|
||||
}
|
||||
|
||||
this.on('close', function() {
|
||||
if (device) { device.close(); });
|
||||
if (device) { device.close(); }
|
||||
});
|
||||
}
|
||||
RED.nodes.registerType("digiRGB",DigiRGBNode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user