Skip to content

Commit

Permalink
Merge pull request #18 from d365collaborative/development
Browse files Browse the repository at this point in the history
Next release
  • Loading branch information
Splaxi authored Mar 5, 2024
2 parents 3e0e064 + 0a65900 commit 70b0a0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion d365bap.tools/functions/Compare-BapEnvironmentD365App.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,12 @@ function Compare-BapEnvironmentD365App {
$resCol = @(foreach ($sourceApp in $($appsSourceEnvironment | Sort-Object -Property ApplicationName )) {
$destinationApp = $appsDestinationEnvironment | Where-Object PackageId -eq $sourceApp.PackageId | Select-Object -First 1

$sourceVersion = if ($sourceApp.InstalledVersion -eq "N/A") { [System.Version]"0.0.0.0" } else { [System.Version]$sourceApp.InstalledVersion }
$tmp = [Ordered]@{
PackageId = $sourceApp.PackageId
PackageName = $sourceApp.PackageName
AppName = $sourceApp.AppName
SourceVersion = [System.Version]$sourceApp.InstalledVersion
SourceVersion = $sourceVersion
DestinationVersion = "Missing"
}

Expand Down

0 comments on commit 70b0a0f

Please sign in to comment.