@samitouri / QOSami-HFS / commits / 48b8eb86

don't skip central.json with --dev

Massimo Melina committed Nov 8, 2024 at 09:26 UTC 48b8eb86b6fee4d3245a10e342c4d30b0314c9d0
1 file changed +1 -1
src/github.ts
+1 -1
@@ -231,7 +231,7 @@ export const getProjectInfo = debounceAsync(
231 () => readGithubFile(`${HFS_REPO}/${HFS_REPO_BRANCH}/${FN}`)
232 .then(JSON.parse, () => null)
233 .then(o => {
234 - o = Object.assign({ ...builtIn }, DEV ? null : o) // fall back to built-in
234 + o = Object.assign({ ...builtIn }, o) // fall back to built-in
235 // merge byVersions info in the main object, but collect alerts separately, to preserve multiple instances
236 const allAlerts: string[] = [o.alert]
237 for (const [ver, more] of Object.entries(popKey(o, 'byVersion') || {}))