Skip to content

Commit 5e9d6fa

Browse files
Fix: fixed the dotnet format
1 parent ec5c239 commit 5e9d6fa

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/gei/Commands/MigrateRepo/MigrateRepoCommandArgs.cs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,21 @@ private void DefaultSourcePat(OctoLogger log)
120120
private void ValidateOrgAndRepoNames()
121121
{
122122
if (!string.IsNullOrWhiteSpace(GithubSourceOrg) && Uri.IsWellFormedUriString(GithubSourceOrg, UriKind.Absolute))
123+
{
123124
throw new OctoshiftCliException("GithubSourceOrg should be an org name, not a URL.");
124-
125+
}
125126
if (!string.IsNullOrWhiteSpace(GithubTargetOrg) && Uri.IsWellFormedUriString(GithubTargetOrg, UriKind.Absolute))
127+
{
126128
throw new OctoshiftCliException("GithubTargetOrg should be an org name, not a URL.");
127-
129+
}
128130
if (!string.IsNullOrWhiteSpace(SourceRepo) && Uri.IsWellFormedUriString(SourceRepo, UriKind.Absolute))
131+
{
129132
throw new OctoshiftCliException("SourceRepo should be a repo name, not a URL.");
130-
133+
}
131134
if (!string.IsNullOrWhiteSpace(TargetRepo) && Uri.IsWellFormedUriString(TargetRepo, UriKind.Absolute))
135+
{
132136
throw new OctoshiftCliException("TargetRepo should be a repo name, not a URL.");
137+
}
133138
}
134139
}
135140
}

0 commit comments

Comments
 (0)