Skip to content

Commit

Permalink
Remove unused branch
Browse files Browse the repository at this point in the history
  • Loading branch information
tgandrews committed May 22, 2022
1 parent 2c6f6f5 commit f709f4e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,10 @@ export default class Table {
if (err) {
return rej(err);
}
if (!data.Items) {
return res([]);
}

return res(data.Items.map((i) => this.deserializer.fromDynamoMap(i)));
return res(
data.Items!.map((i) => this.deserializer.fromDynamoMap(i))
);
}
);
});
Expand Down

0 comments on commit f709f4e

Please sign in to comment.