Indentation fixes in ci.psm1 (#9947)
This commit is contained in:
parent
db3c114587
commit
052ee86aa4
@ -468,9 +468,9 @@ function Invoke-CIFinish
|
|||||||
foreach ($package in $packages) {
|
foreach ($package in $packages) {
|
||||||
if (Test-Path $package)
|
if (Test-Path $package)
|
||||||
{
|
{
|
||||||
Write-Log "Package found: $package"
|
Write-Log "Package found: $package"
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Write-Warning -Message "Package NOT found: $package"
|
Write-Warning -Message "Package NOT found: $package"
|
||||||
}
|
}
|
||||||
@ -723,12 +723,12 @@ function New-LinuxPackage
|
|||||||
{
|
{
|
||||||
if ($package -isnot [System.IO.FileInfo])
|
if ($package -isnot [System.IO.FileInfo])
|
||||||
{
|
{
|
||||||
$packageObj = Get-Item $package
|
$packageObj = Get-Item $package
|
||||||
Write-Error -Message "The PACKAGE is not a FileInfo object"
|
Write-Error -Message "The PACKAGE is not a FileInfo object"
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$packageObj = $package
|
$packageObj = $package
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Log -message "Artifacts directory: ${env:BUILD_ARTIFACTSTAGINGDIRECTORY}"
|
Write-Log -message "Artifacts directory: ${env:BUILD_ARTIFACTSTAGINGDIRECTORY}"
|
||||||
|
Loading…
Reference in New Issue
Block a user