Skip to content

Commit

Permalink
fix: az devops takes heading space as part of value
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnmoreels authored Jun 11, 2024
1 parent c75ae2b commit 0cce9f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Arcus.Scripting.DevOps/Arcus.Scripting.DevOps.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ function Set-AzDevOpsVariable {
)

if ($AsSecret) {
Write-Host "##vso[task.setvariable variable=$Name;issecret=true] $Value"
Write-Host "##vso[task.setvariable variable=$Name;issecret=true]$Value"
} else {
Write-Host "##vso[task.setvariable variable=$Name] $Value"
Write-Host "##vso[task.setvariable variable=$Name]$Value"
}
}

Expand Down Expand Up @@ -105,4 +105,4 @@ function Save-AzDevOpsBuild {
. $PSScriptRoot\Scripts\Save-AzDevOpsBuild.ps1 -ProjectId $ProjectId -BuildId $BuildId -DaysToKeep $DaysToKeep
}

Export-ModuleMember -Function Save-AzDevOpsBuild
Export-ModuleMember -Function Save-AzDevOpsBuild

0 comments on commit 0cce9f5

Please sign in to comment.