diff --git a/package.json b/package.json index 1643015b..7d5aa3db 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "decentraland", - "version": "3.5.0", + "version": "3.5.1", "description": "Decentraland CLI developer tool.", "bin": { "dcl": "dist/cli.js" diff --git a/src/utils/logging.ts b/src/utils/logging.ts index 55aedc5c..9e5dbde9 100644 --- a/src/utils/logging.ts +++ b/src/utils/logging.ts @@ -79,8 +79,10 @@ export function formatList( return buf.concat(separator, formatList(list, options, level + 1, 'array')) } else if (typeof item === 'object') { return buf.concat(separator, formatDictionary(item, options, level + 1, 'array')) - } else if (item) { + } else if (item !== undefined) { return buf.concat(separator, JSON.stringify(item)) + } else { + return buf } }, '') } else {