mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
fix failure to return after calling callback
This commit is contained in:
parent
31bc99cd61
commit
502dacd865
@ -568,6 +568,7 @@ function getSetting(node, name, flow_, callback) {
|
|||||||
}
|
}
|
||||||
if (result) {
|
if (result) {
|
||||||
callback(null, result.val);
|
callback(null, result.val);
|
||||||
|
return
|
||||||
}
|
}
|
||||||
name = newName;
|
name = newName;
|
||||||
flow.getSetting(name, callback);
|
flow.getSetting(name, callback);
|
||||||
|
Loading…
Reference in New Issue
Block a user