mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-21 13:10:53 +08:00
Change lowestVersions from let to const
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user