We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efb9dc7 commit 1da72f0Copy full SHA for 1da72f0
1 file changed
apps/server/src/git/Layers/GitCore.ts
@@ -60,7 +60,7 @@ const STATUS_UPSTREAM_REFRESH_FAILURE_COOLDOWN = Duration.seconds(5);
60
const STATUS_UPSTREAM_REFRESH_CACHE_CAPACITY = 2_048;
61
const DEFAULT_BASE_BRANCH_CANDIDATES = ["main", "master"] as const;
62
const GIT_LIST_BRANCHES_DEFAULT_LIMIT = 100;
63
-const NON_REPOSITORY_STATUS_DETAILS = {
+const NON_REPOSITORY_STATUS_DETAILS = Object.freeze<GitStatusDetails>({
64
isRepo: false,
65
hasOriginRemote: false,
66
isDefaultBranch: false,
@@ -71,7 +71,7 @@ const NON_REPOSITORY_STATUS_DETAILS = {
71
hasUpstream: false,
72
aheadCount: 0,
73
behindCount: 0,
74
-} satisfies GitStatusDetails;
+});
75
76
type TraceTailState = {
77
processedChars: number;
0 commit comments