Skip to content

Commit 4dd210d

Browse files
authored
FIx issue with removal of pre-built apps. (#1499)
$downloadedAppsByType was incorrectly initialized as an object instead of a list. This failed because checking if the object exist in an if statement, will return true for an empty object, but false for a list.
1 parent 9c62ec6 commit 4dd210d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Actions/RunPipeline/RunPipeline.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ try {
127127
$buildArtifactFolder = Join-Path $projectPath ".buildartifacts"
128128
New-Item $buildArtifactFolder -ItemType Directory | Out-Null
129129

130-
$downloadedAppsByType = @{}
130+
$downloadedAppsByType = @()
131131
if ($baselineWorkflowSHA -and $baselineWorkflowRunId -ne '0' -and $settings.incrementalBuilds.mode -eq 'modifiedApps') {
132132
# Incremental builds are enabled and we are only building modified apps
133133
try {

0 commit comments

Comments
 (0)