Skip to content

Commit 37ec06e

Browse files
committed
fix style check
1 parent fc41bbf commit 37ec06e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/pglite-sync/src/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,9 @@ async function createPlugin(
174174
// during a sync
175175
tx.exec(`SET LOCAL ${metadataSchema}.syncing = true;`)
176176

177-
for (let [shapeName, messages] of messagesToCommit.entries()) {
177+
for (const [shapeName, initialMessages] of messagesToCommit.entries()) {
178178
const shape = shapes[shapeName]
179+
let messages = initialMessages
179180

180181
// If we need to truncate the table, do so
181182
if (truncateNeeded.has(shapeName)) {

0 commit comments

Comments
 (0)