diff --git a/scripts/Find-nextissueGH.ps1 b/scripts/Find-nextissueGH.ps1 index 627663c61..0d8bc13f9 100644 --- a/scripts/Find-nextissueGH.ps1 +++ b/scripts/Find-nextissueGH.ps1 @@ -14,7 +14,7 @@ function Find-nextissueGH { Import-Module psgithubsearch "packageName : $packageName" - $search = $packageName.split('(|)')[1] + $search = $packageName -split '\(|\)' | Select-Object -Index 1 "Package to import : $search" if($search) {