From 3ca01c518ce734eb839433db066cf13e502c204f Mon Sep 17 00:00:00 2001 From: Aaron Parker Date: Thu, 21 Sep 2023 09:51:05 +1000 Subject: [PATCH] Update Get-OperaApp.ps1 Fix $res parameter --- Evergreen/Shared/Get-OperaApp.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Evergreen/Shared/Get-OperaApp.ps1 b/Evergreen/Shared/Get-OperaApp.ps1 index ebc941ee..4874481e 100644 --- a/Evergreen/Shared/Get-OperaApp.ps1 +++ b/Evergreen/Shared/Get-OperaApp.ps1 @@ -12,8 +12,7 @@ function Get-OperaApp { param ( [Parameter(Mandatory = $false, Position = 0)] [ValidateNotNullOrEmpty()] - [System.Management.Automation.PSObject] - $res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) + [System.Management.Automation.PSObject] $res ) foreach ($Channel in $res.Get.Update.Channels) {