Skip to content

Commit

Permalink
fix: resolved the array depolorizer bug (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarvalabs-gokul authored Jul 3, 2024
1 parent c9604a0 commit eff611e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/depolorizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,7 @@ export class Depolorizer {
while(!pack.isDone()) {
// Depolorize the element into the element type
const element = pack.depolorize(schema.fields.values);
if(element) {
// const ele = pack.unpack(schema.fields.values, element);
arr.push(element);
}
arr.push(element);
}

return arr;
Expand Down

0 comments on commit eff611e

Please sign in to comment.