Skip to content

Commit

Permalink
fix naming for repo jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed May 6, 2024
1 parent 1571047 commit 3d796de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public static void Main(string[] args)
// Needed to get properly cased names
string orgName = Config.TargetConfigs.FirstOrDefault(x =>
x.Target == TargetType.Organization && x.Name.ToLower() == orgNameRequest.ToLower()).Name;
x.Target == TargetType.Organization && x.Name.ToLower() == orgNameRequest.ToLower())?.Name ?? orgNameRequest;
string repoName = Config.TargetConfigs.FirstOrDefault(x =>
x.Target == TargetType.Repository && x.Name.ToLower() == repoNameRequest.ToLower())?.Name ?? repoNameRequest;
Expand Down

0 comments on commit 3d796de

Please sign in to comment.