From 3e94bf8b3922758d67b749a10bcde17fe7066324 Mon Sep 17 00:00:00 2001 From: Marin Karamihalev <marin.karamihalev@iopsys.eu> Date: Tue, 23 Aug 2022 12:59:18 +0200 Subject: [PATCH] removed empty object arrays, WIP on bug 8452 --- src/commands/get.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/commands/get.ts b/src/commands/get.ts index 08ed684..591d5f5 100644 --- a/src/commands/get.ts +++ b/src/commands/get.ts @@ -31,17 +31,6 @@ const decode: DecodeFn = (msg, decodeOptions) => { const unflattened = util.convertToNestedObject(resolvedPathResultsArr); const unwrapped = util.fullyUnwrapObject(unflattened, shouldBeArray); - console.log({ - resolvedPathResultsArr, - requestedPath, - pathIncludesSearch, - pathSplit, - hasMultipleIndexes, - shouldBeArray, - unflattened, - unwrapped - }) - return [util.isEmpty(unwrapped) ? [] : unwrapped]; } return [null]; -- GitLab