Skip to content

Commit fcc0461

Browse files
committed
Typos, formatting.
1 parent 4b23376 commit fcc0461

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

DockerBuild.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,15 @@ if (-not $env:IS_TEAMCITY_AGENT -and -not $NoClean)
9393
# Create secrets JSON file.
9494
if (-not $KeepEnv)
9595
{
96-
if ( -not $env:ENG_USERNAME )
96+
if (-not $env:ENG_USERNAME)
9797
{
9898
$env:ENG_USERNAME = $env:USERNAME
9999
}
100100

101101
$env:GIT_USER_EMAIL = git config --global user.email
102102
$env:GIT_USER_NAME = git config --global user.name
103103

104-
if ( $env:IS_TEAMCITY_AGENT )
104+
if ($env:IS_TEAMCITY_AGENT)
105105
{
106106
if (-not $env:GIT_USER_EMAIL)
107107
{
@@ -171,13 +171,13 @@ if (Test-Path $sourceDependenciesDir)
171171
$targetPath = $link.Target
172172
if (-not [string]::IsNullOrEmpty($targetPath) -and (Test-Path $targetPath))
173173
{
174-
Write-Host "Found symbolic link '$($link.Name)' -> '$targetPath'" -ForegroundColor Cyan
174+
Write-Host "Found symbolic link '$( $link.Name )' -> '$targetPath'" -ForegroundColor Cyan
175175
$volumeMappings += @("-v", "${targetPath}:${targetPath}:ro")
176176
$MountPoints += $targetPath
177177
}
178178
else
179179
{
180-
Write-Host "Warning: Symbolic link '$($link.Name)' target '$targetPath' does not exist or is invalid" -ForegroundColor Yellow
180+
Write-Host "Warning: Symbolic link '$( $link.Name )' target '$targetPath' does not exist or is invalid" -ForegroundColor Yellow
181181
}
182182
}
183183
}

src/PostSharp.Engineering.BuildTools/Build/Solutions/DotNetSolution.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ private bool RunBuildOrTests(
155155

156156
if ( !found )
157157
{
158-
context.Console.WriteError( $"Expected disagnostic not found for pattern '{regex}'." );
158+
context.Console.WriteError( $"Expected diagnostic not found for pattern '{regex}'." );
159159

160160
success = false;
161161
}

src/PostSharp.Engineering.BuildTools/Resources/DockerBuild.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,15 @@ if (-not $env:IS_TEAMCITY_AGENT -and -not $NoClean)
9393
# Create secrets JSON file.
9494
if (-not $KeepEnv)
9595
{
96-
if ( -not $env:ENG_USERNAME )
96+
if (-not $env:ENG_USERNAME)
9797
{
9898
$env:ENG_USERNAME = $env:USERNAME
9999
}
100100

101101
$env:GIT_USER_EMAIL = git config --global user.email
102102
$env:GIT_USER_NAME = git config --global user.name
103103

104-
if ( $env:IS_TEAMCITY_AGENT )
104+
if ($env:IS_TEAMCITY_AGENT)
105105
{
106106
if (-not $env:GIT_USER_EMAIL)
107107
{
@@ -171,13 +171,13 @@ if (Test-Path $sourceDependenciesDir)
171171
$targetPath = $link.Target
172172
if (-not [string]::IsNullOrEmpty($targetPath) -and (Test-Path $targetPath))
173173
{
174-
Write-Host "Found symbolic link '$($link.Name)' -> '$targetPath'" -ForegroundColor Cyan
174+
Write-Host "Found symbolic link '$( $link.Name )' -> '$targetPath'" -ForegroundColor Cyan
175175
$volumeMappings += @("-v", "${targetPath}:${targetPath}:ro")
176176
$MountPoints += $targetPath
177177
}
178178
else
179179
{
180-
Write-Host "Warning: Symbolic link '$($link.Name)' target '$targetPath' does not exist or is invalid" -ForegroundColor Yellow
180+
Write-Host "Warning: Symbolic link '$( $link.Name )' target '$targetPath' does not exist or is invalid" -ForegroundColor Yellow
181181
}
182182
}
183183
}

0 commit comments

Comments
 (0)