We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a3f087 commit fde1ecbCopy full SHA for fde1ecb
1 file changed
apps/server/src/git/GitManager.ts
@@ -699,13 +699,13 @@ export const makeGitManager = Effect.fn("makeGitManager")(function* () {
699
.pipe(
700
Effect.catchIf(isNotGitRepositoryError, () => Effect.succeed(nonRepositoryStatusDetails)),
701
);
702
- const sourceControlProvider = details.isRepo
+ const hostingProvider = details.isRepo
703
? yield* resolveHostingProvider(cwd, details.branch)
704
: null;
705
706
return {
707
isRepo: details.isRepo,
708
- ...(sourceControlProvider ? { sourceControlProvider } : {}),
+ ...(hostingProvider ? { sourceControlProvider: hostingProvider } : {}),
709
hasPrimaryRemote: details.hasOriginRemote,
710
isDefaultRef: details.isDefaultBranch,
711
refName: details.branch,
0 commit comments