mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-06 02:37:14 +00:00
cleanup linter errors
This commit is contained in:
parent
dc0cc40d5f
commit
4c39b5d6cc
@ -1,5 +1,5 @@
|
||||
/*\
|
||||
title: $:/plugins/tiddlywiki/multiwikiserver/modules/modules/routes/helpers/acl-middleware.js
|
||||
title: $:/plugins/tiddlywiki/multiwikiserver/modules/routes/helpers/acl-middleware.js
|
||||
type: application/javascript
|
||||
module-type: library
|
||||
|
||||
|
@ -53,6 +53,7 @@ function SqlEngine(options) {
|
||||
// Turn on WAL mode for better-sqlite3
|
||||
if(this.engine === "better") {
|
||||
// See https://github.com/WiseLibs/better-sqlite3/blob/master/docs/performance.md
|
||||
// @ts-ignore
|
||||
this.db.pragma("journal_mode = WAL");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user