Skip to content

Commit 172c85c

Browse files
2 parents 66a7436 + ee1b289 commit 172c85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/deser-lib/src/cbor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function untransform<T>(value: T): T | string {
4444
if (value.startsWith('0x')) {
4545
return '\\' + value;
4646
}
47-
} else if (value instanceof Array && value.length > 1) {
47+
} else if (value instanceof Array) {
4848
return value.map(untransform) as unknown as T;
4949
} else if (value instanceof Object) {
5050
const properties = Object.getOwnPropertyNames(value);

0 commit comments

Comments
 (0)