Change lowestVersions from let to const

This commit is contained in:
YuigaWada
2023-09-30 15:44:32 +09:00
parent 4fa25dfd54
commit 87f2c1bbb5
+1 -1
View File
@@ -63,7 +63,7 @@ const getSchemaVersion = (db: SQLite3DB): string => {
}
const isSupportedSchema = (schemaVersion: string): boolean => {
let lowestVersion = "v2.6.0.a" // supported: "v3.2.0.a", "v3.0.0.{a,b,c,d}", "v2.6.0.a"
const lowestVersion = "v2.6.0.a" // supported: "v3.2.0.a", "v3.0.0.{a,b,c,d}", "v2.6.0.a"
if (schemaVersion == lowestVersion) return true
return isGreaterSchemaVersion(schemaVersion, lowestVersion)
}