effectify Config service (#19139)

This commit is contained in:
Kit Langton
2026-03-26 13:07:01 -04:00
committed by GitHub
parent 38450443b1
commit 28f5176ffd
9 changed files with 461 additions and 358 deletions

View File

@@ -4,7 +4,7 @@ import { Flag } from "@/flag/flag"
import { Installation } from "@/installation"
export async function upgrade() {
const config = await Config.global()
const config = await Config.getGlobal()
const method = await Installation.method()
const latest = await Installation.latest(method).catch(() => {})
if (!latest) return