Skip to content

Commit

Permalink
Remove debug log lines
Browse files Browse the repository at this point in the history
  • Loading branch information
matttylr committed Oct 28, 2024
1 parent 99d2d9f commit 8673df9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions store.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,9 @@ class Store {
const result = f()
if (ownTxn) {
if (readonly) {
console.log('aborting txn')
this.txn.abort()
}
else {
console.log('committing txn')
this.txn.commit()
}
}
Expand All @@ -185,11 +183,9 @@ class Store {
const result = await f()
if (ownTxn) {
if (readonly) {
console.log('aborting txn')
this.txn.abort()
}
else {
console.log('committing txn')
this.txn.commit()
}
}
Expand Down Expand Up @@ -254,4 +250,4 @@ class Store {
}
}

module.exports = { Store, asBinary }
module.exports = { Store, asBinary }

0 comments on commit 8673df9

Please sign in to comment.