Skip to content

Commit

Permalink
Update Get-OperaApp.ps1
Browse files Browse the repository at this point in the history
Fix $res parameter
  • Loading branch information
aaronparker committed Sep 20, 2023
1 parent 76d31bc commit 3ca01c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Evergreen/Shared/Get-OperaApp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3ca01c5

Please sign in to comment.