Skip to content

Commit 1da72f0

Browse files
readonly
1 parent efb9dc7 commit 1da72f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/server/src/git/Layers/GitCore.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const STATUS_UPSTREAM_REFRESH_FAILURE_COOLDOWN = Duration.seconds(5);
6060
const STATUS_UPSTREAM_REFRESH_CACHE_CAPACITY = 2_048;
6161
const DEFAULT_BASE_BRANCH_CANDIDATES = ["main", "master"] as const;
6262
const GIT_LIST_BRANCHES_DEFAULT_LIMIT = 100;
63-
const NON_REPOSITORY_STATUS_DETAILS = {
63+
const NON_REPOSITORY_STATUS_DETAILS = Object.freeze<GitStatusDetails>({
6464
isRepo: false,
6565
hasOriginRemote: false,
6666
isDefaultBranch: false,
@@ -71,7 +71,7 @@ const NON_REPOSITORY_STATUS_DETAILS = {
7171
hasUpstream: false,
7272
aheadCount: 0,
7373
behindCount: 0,
74-
} satisfies GitStatusDetails;
74+
});
7575

7676
type TraceTailState = {
7777
processedChars: number;

0 commit comments

Comments
 (0)