summaryrefslogtreecommitdiff
path: root/ext/bg/js/database.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-22 15:22:42 -0500
committerGitHub <noreply@github.com>2020-02-22 15:22:42 -0500
commit897f2360be13db70ff2f533089ba8d38b0b744ed (patch)
treefdfdc9ed13fb38117e922d27c60616f159a2c63e /ext/bg/js/database.js
parentf8f03f3af0ab031cc58bf5ad3f782c8d45137430 (diff)
parent6513a15b3b5fd8586226c8823e2680478b97e132 (diff)
Merge pull request #363 from toasted-nutbread/eslint-stylistic-rules
Eslint stylistic rules
Diffstat (limited to 'ext/bg/js/database.js')
-rw-r--r--ext/bg/js/database.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/database.js b/ext/bg/js/database.js
index 1f6810cf..558f3ceb 100644
--- a/ext/bg/js/database.js
+++ b/ext/bg/js/database.js
@@ -809,9 +809,9 @@ class Database {
for (const objectStoreName of objectStoreNames) {
const {primaryKey, indices} = stores[objectStoreName];
- const objectStoreNames = transaction.objectStoreNames || db.objectStoreNames;
+ const objectStoreNames2 = transaction.objectStoreNames || db.objectStoreNames;
const objectStore = (
- Database._listContains(objectStoreNames, objectStoreName) ?
+ Database._listContains(objectStoreNames2, objectStoreName) ?
transaction.objectStore(objectStoreName) :
db.createObjectStore(objectStoreName, primaryKey)
);