mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Avoid misinterpreting valid objects as encoded arrays in debug
This commit is contained in:
@@ -118,6 +118,7 @@ module.exports = function(RED) {
|
||||
}
|
||||
if (util.isArray(value) && value.length > debuglength) {
|
||||
value = {
|
||||
__encoded__: true,
|
||||
type: "array",
|
||||
data: value.slice(0,debuglength),
|
||||
length: value.length
|
||||
|
Reference in New Issue
Block a user