Skip to content

Commit

Permalink
Fix init of addDependencies (#3732)
Browse files Browse the repository at this point in the history
  • Loading branch information
aholstrup1 authored Oct 18, 2024
1 parent d3b4ae6 commit 4030ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CompilerFolderHandling/Compile-AppWithBcCompilerFolder.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ try {
$existingApp = $existingApps | Where-Object {
((($dependency.appId -ne '' -and $_.AppId -eq $dependency.appId) -or ($dependency.appId -eq '' -and $_.Name -eq $dependency.Name)) -and ([System.Version]$_.Version -ge [System.Version]$dependency.version))
} | Sort-Object { [System.Version]$_.Version } -Descending | Select-Object -First 1
$addDependencies = $()
$addDependencies = @()
if ($existingApp) {
Write-Host "Dependency App exists"
if ($existingApp.ContainsKey('PropagateDependencies') -and $existingApp.PropagateDependencies -and $existingApp.ContainsKey('Dependencies')) {
Expand Down

0 comments on commit 4030ddf

Please sign in to comment.