mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix evaluateNodeProperty handling of unknown types
This commit is contained in:
@@ -335,7 +335,7 @@ var parseContextStore = function(key) {
|
||||
}
|
||||
|
||||
function evaluateNodeProperty(value, type, node, msg, callback) {
|
||||
var result;
|
||||
var result = value;
|
||||
if (type === 'str') {
|
||||
result = ""+value;
|
||||
} else if (type === 'num') {
|
||||
|
||||
Reference in New Issue
Block a user