Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaguereca committed Nov 7, 2024
1 parent 59e6410 commit 8774121
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/gei/Commands/MigrateRepo/MigrateRepoCommandHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,7 @@ public async Task Handle(MigrateRepoCommandArgs args)

_log.LogInformation("Migrating Repo...");

var blobCredentialsRequired = false;

if (args.UseGithubStorage)
{
blobCredentialsRequired = true;
}
else
{
blobCredentialsRequired = await _ghesVersionChecker.AreBlobCredentialsRequired(args.GhesApiUrl);
};
var blobCredentialsRequired = args.UseGithubStorage || (await _ghesVersionChecker.AreBlobCredentialsRequired(args.GhesApiUrl));

if (args.GhesApiUrl.HasValue())
{
Expand Down

0 comments on commit 8774121

Please sign in to comment.