Fix commit message reporting
This commit is contained in:
parent
0a2b8666bd
commit
c63140b227
@ -179,6 +179,7 @@ export const getGitHubMetaWithFallback = (params: RepoParams) =>
|
||||
console.error('Error retrieving GitHub meta', { params, error: e });
|
||||
return {
|
||||
...params,
|
||||
commitMessage: undefined,
|
||||
urlOwner: undefined,
|
||||
urlRepo: undefined,
|
||||
urlBranch: undefined,
|
||||
|
||||
@ -23,6 +23,7 @@ import {
|
||||
TEMPLATE_REPO_OWNER,
|
||||
TEMPLATE_REPO_NAME,
|
||||
VERCEL_GIT_COMMIT_SHA_SHORT,
|
||||
VERCEL_GIT_COMMIT_MESSAGE,
|
||||
} from '@/app-core/config';
|
||||
import { AdminAppInsight } from '.';
|
||||
|
||||
@ -105,7 +106,7 @@ export default function AdminAppInsightsClient({
|
||||
{VERCEL_GIT_COMMIT_SHA_SHORT ?? DEBUG_COMMIT_SHA}
|
||||
</div>
|
||||
<div className="truncate">
|
||||
{codeMeta?.commit ?? DEBUG_COMMIT_MESSAGE}
|
||||
{VERCEL_GIT_COMMIT_MESSAGE ?? DEBUG_COMMIT_MESSAGE}
|
||||
</div>
|
||||
</div>}
|
||||
/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user