refactor(dev): use es6-string-html for some of the SQL statements (closes #274)

This commit is contained in:
Elian Doran
2025-04-01 23:30:21 +03:00
parent 7a879d7cc8
commit ba506c9c10
27 changed files with 71 additions and 71 deletions

View File

@@ -21,7 +21,7 @@ import backup from "./backup.js";
const dbReady = deferred<void>();
function schemaExists() {
return !!sql.getValue(`SELECT name FROM sqlite_master
return !!sql.getValue(/*sql*/`SELECT name FROM sqlite_master
WHERE type = 'table' AND name = 'options'`);
}