Skip to content

Commit 763281d

Browse files
Fixing embarrassing typo
1 parent b027584 commit 763281d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PSFramework.NuGet/functions/Repository/Get-PSFRepository.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
process {
4646
if ($script:psget.V3 -and $Type -in 'All','V3') {
4747
foreach ($repository in Get-PSResourceRepository -Name $Name -ErrorAction Ignore) {
48-
if (-not $repository) [ continue ]
48+
if (-not $repository) { continue }
4949
[PSCustomObject]@{
5050
PSTypeName = 'PSFramework.NuGet.Repository'
5151
Name = $repository.Name
@@ -65,7 +65,7 @@
6565
if (-not $script:psget.v2CanInstall) { $status = 'NoInstall' }
6666

6767
foreach ($repository in Get-PSRepository -Name $Name -ErrorAction Ignore) {
68-
if (-not $repository) [ continue ]
68+
if (-not $repository) { continue }
6969
[PSCustomObject]@{
7070
PSTypeName = 'PSFramework.NuGet.Repository'
7171
Name = $repository.Name

0 commit comments

Comments
 (0)