Skip to content

Commit 1d8f076

Browse files
committed
Typo.
1 parent 919c420 commit 1d8f076

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/PostSharp.Engineering.BuildTools/Dependencies/DependenciesHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ bool TryGetBuildId( [NotNullWhen( true )] out CiBuildId? ciBuildId )
262262
return true;
263263
}
264264

265-
private static bool GetLatestBuildId(
265+
private static bool TryGetLatestBuildId(
266266
ConsoleHelper console,
267267
TeamCityClient teamCity,
268268
string dependencyName,
@@ -346,7 +346,7 @@ private static bool ResolveBuildNumbersFromBranches(
346346
branchName = dependency.Dependency.Branch;
347347
}
348348

349-
if ( !GetLatestBuildId(
349+
if ( !TryGetLatestBuildId(
350350
context.Console,
351351
teamCity,
352352
dependency.Dependency.Name,

src/PostSharp.Engineering.BuildTools/Tools/TeamCity/TeamCityClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public bool TryGetBranchFromBuildNumber( ConsoleHelper console, CiBuildId buildI
113113

114114
public bool TryGetLatestBuildId( ConsoleHelper console, string buildTypeId, string branchName, out CiBuildId? buildId )
115115
{
116-
var prefix = "ref/heads/";
116+
var prefix = "refs/heads/";
117117

118118
string nakedBranchName;
119119

0 commit comments

Comments
 (0)