From 48b8eb86b6fee4d3245a10e342c4d30b0314c9d0 Mon Sep 17 00:00:00 2001 From: Massimo Melina Date: Fri, 8 Nov 2024 09:26:45 +0100 Subject: [PATCH] don't skip central.json with --dev --- src/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.ts b/src/github.ts index 3ad29427..6a8b75a5 100644 --- a/src/github.ts +++ b/src/github.ts @@ -231,7 +231,7 @@ export const getProjectInfo = debounceAsync( () => readGithubFile(`${HFS_REPO}/${HFS_REPO_BRANCH}/${FN}`) .then(JSON.parse, () => null) .then(o => { - o = Object.assign({ ...builtIn }, DEV ? null : o) // fall back to built-in + o = Object.assign({ ...builtIn }, o) // fall back to built-in // merge byVersions info in the main object, but collect alerts separately, to preserve multiple instances const allAlerts: string[] = [o.alert] for (const [ver, more] of Object.entries(popKey(o, 'byVersion') || {}))