Skip to content

Commit 869f3ae

Browse files
committed
improvements
1 parent 7a8fdc2 commit 869f3ae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/doctor/misc.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ func checkEnablePushOptions(ctx context.Context, logger log.Logger, autofix bool
9393
numRepos++
9494

9595
if autofix {
96-
err := gitrepo.GitConfigSet(ctx, repo, "receive.advertisePushOptions", "true")
97-
return err
96+
return gitrepo.GitConfigSet(ctx, repo, "receive.advertisePushOptions", "true")
9897
}
9998

10099
value, err := gitrepo.GitConfigGet(ctx, repo, "receive.advertisePushOptions")

0 commit comments

Comments
 (0)