Skip to content

Commit

Permalink
Update ESLint rules and fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Mar 4, 2024
1 parent 9d92364 commit 2d05aa8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"chai": "^4.4.1",
"chai-http": "^4.4.0",
"eslint": "^8.57.0",
"eslint-config-gbv": "1.0.5",
"eslint-config-gbv": "1.1.0",
"lint-staged": "^15.2.2",
"mocha": "^10.3.0",
"pre-commit": "^1.2.2",
Expand Down
4 changes: 3 additions & 1 deletion src/backend/sqlite.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ CREATE TABLE metadata (
this.db.exec("DELETE FROM subjects;")
const insert = this.db.prepare("INSERT INTO subjects VALUES (@ppn, @voc, @notation)")
const insertMany = this.db.transaction((data) => {
for (const row of data) insert.run(row)
for (const row of data) {
insert.run(row)
}
})
return new Promise((resolve, reject) => {
let results = []
Expand Down

0 comments on commit 2d05aa8

Please sign in to comment.