Skip to content

Commit deb7c74

Browse files
committed
fix if notFound module
1 parent 7a90eee commit deb7c74

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Tasks/Manage-AutomationAccount/Manage-AutomationAccount.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ if (Check-Scope -Scope $scope -RequiredScope 'Modules') {
374374
$importingPackages = new-object System.Collections.ArrayList
375375
foreach ($module in $modulesBatch) {
376376
"Processing module $($module.Name) $($module.Version) for runtime $($module.RuntimeEnvironment)"
377+
$existingPackage = $null
377378
try {
378379
$existingPackage = Get-AutoPackage -RuntimeEnvironment $module.RuntimeEnvironment -Name $module.Name -ErrorAction Stop
379380
}

vss-extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifestVersion": 1,
33
"id": "Manage-AutomationAccount",
44
"name": "Manage-AutomationAccount",
5-
"version": "2.0.8",
5+
"version": "2.0.9",
66
"publisher": "GreyCorbelSolutions",
77
"targets": [
88
{

0 commit comments

Comments
 (0)