1
0
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:
Steve-Mcl 2023-06-17 22:44:55 +01:00
parent 31bc99cd61
commit 502dacd865

View File

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