Skip to content

Commit

Permalink
don't skip central.json with --dev
Browse files Browse the repository at this point in the history
  • Loading branch information
rejetto committed Nov 8, 2024
1 parent 7b2dbdc commit 48b8eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') || {}))
Expand Down

0 comments on commit 48b8eb8

Please sign in to comment.