mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Correct spelling in Pi error messages, fix mouse icon file type
This commit is contained in:
parent
b97d251787
commit
3334c795e0
@ -189,7 +189,7 @@ module.exports = function(RED) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
node.child.on('error', function (err) {
|
node.child.on('error', function (err) {
|
||||||
if (err.errno === "ENOENT") { node.error('nrgpio ommand not found'); }
|
if (err.errno === "ENOENT") { node.error('nrgpio command not found'); }
|
||||||
else if (err.errno === "EACCES") { node.error('nrgpio command not executable'); }
|
else if (err.errno === "EACCES") { node.error('nrgpio command not executable'); }
|
||||||
else { node.log('error: ' + err); }
|
else { node.log('error: ' + err); }
|
||||||
});
|
});
|
||||||
@ -257,7 +257,7 @@ module.exports = function(RED) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
node.child.on('error', function (err) {
|
node.child.on('error', function (err) {
|
||||||
if (err.errno === "ENOENT") { node.error('nrgpio ommand not found'); }
|
if (err.errno === "ENOENT") { node.error('nrgpio command not found'); }
|
||||||
else if (err.errno === "EACCES") { node.error('nrgpio ommand not executable'); }
|
else if (err.errno === "EACCES") { node.error('nrgpio ommand not executable'); }
|
||||||
else { node.log('error: ' + err); }
|
else { node.log('error: ' + err); }
|
||||||
});
|
});
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 671 B |
Loading…
Reference in New Issue
Block a user