Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion lunaria/lunaria.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ if (existsSync('.git/MERGE_HEAD')) {
process.exit(0)
}

const lunaria = await createLunaria()
const lunaria = await createLunaria({
// `force: true` configures lunaria to bypass git caching and always read the latest commit from git history,
// workarounds issue where lunaria caches becomes stale after rebasing or merging, which causes lunaria to crash
// https://github.com/npmx-dev/npmx.dev/issues/2527
force: true,
})
const status = await lunaria.getFullStatus()

// Generate JSON status for the app
Expand Down
Loading