Skip to content

Commit 8277d8b

Browse files
committed
Nits.
1 parent 10b4aa5 commit 8277d8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PostSharp.Engineering.BuildTools/Build/Files/TeamCitySettingsFile.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ internal static bool TryWrite( BuildContext context, CommonCommandSettings setti
138138
}
139139

140140
// The default branch for the public build cannot be set to the release branch,
141-
// because the schedulled build would not trigger the build on the develop branch
141+
// because the scheduled build would not trigger the build on the develop branch
142142
// where the develop branch name differs.
143143
// Only the consolidated public build has the release branch as the default branch
144144
// and it expects that the release branch name is the same for each project.
@@ -232,7 +232,7 @@ TeamCityBuildStep CreatePublishBuildStep( bool isStandalone = false )
232232
}
233233

234234
// Create a TeamCity configuration for Swap.
235-
if ( configurationInfo is { Swappers: { }, SwapAfterPublishing: false } )
235+
if ( configurationInfo is { Swappers: { Length: > 0 }, SwapAfterPublishing: false } )
236236
{
237237
var swapDependencies = new List<TeamCitySnapshotDependency>();
238238

0 commit comments

Comments
 (0)