We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1a9bf4 commit 553b1aaCopy full SHA for 553b1aa
packages/dialect-wasqlite-worker/src/worker/utils.ts
@@ -59,8 +59,7 @@ async function queryData(
59
}
60
61
const mapRow = createRowMapper(core.sqlite, stmt)
62
- // eslint-disable-next-line unicorn/no-new-array
63
- const result = new Array(size)
+ const result = []
64
let idx = 0
65
while (await core.sqlite.step(stmt) === SQLITE_ROW) {
66
result[idx++] = mapRow(core.sqlite.row(stmt))
0 commit comments