Skip to content

Commit

Permalink
Uniformize name
Browse files Browse the repository at this point in the history
  • Loading branch information
FriggaHel committed Mar 19, 2024
1 parent 25d8635 commit 47c265e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions visual-dotnet/SauceLabs.Visual/VisualClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ private async Task<VisualBuild> FindBuildById(string buildId)
}

/// <summary>
/// <c>TryFindBuildByCustomId</c> returns the build identified by <c>customId</c> or null if not found
/// <c>FindBuildByCustomId</c> returns the build identified by <c>customId</c> or null if not found
/// </summary>
/// <param name="customId"></param>
/// <returns>the matching build or null</returns>
/// <exception cref="VisualClientException">when build has an invalid state</exception>
private async Task<VisualBuild?> TryFindBuildByCustomId(string customId)
private async Task<VisualBuild?> FindBuildByCustomId(string customId)
{
try
{
Expand Down Expand Up @@ -160,7 +160,7 @@ private async Task<VisualBuild> FindBuildById(string buildId)

if (StringUtils.IsNullOrEmpty(customId))
{
return await TryFindBuildByCustomId(customId!.Trim());
return await FindBuildByCustomId(customId!.Trim());
}
return null;
}
Expand Down

0 comments on commit 47c265e

Please sign in to comment.