File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
src/PostSharp.Engineering.BuildTools Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -93,15 +93,15 @@ if (-not $env:IS_TEAMCITY_AGENT -and -not $NoClean)
9393# Create secrets JSON file.
9494if (-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}
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change @@ -93,15 +93,15 @@ if (-not $env:IS_TEAMCITY_AGENT -and -not $NoClean)
9393# Create secrets JSON file.
9494if (-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}
You can’t perform that action at this time.
0 commit comments