Skip to content

Commit a97ba29

Browse files
authored
Update src/code/ResetPSResourceRepository.cs
1 parent a20f9ad commit a97ba29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code/ResetPSResourceRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected override void ProcessRecord()
5959

6060
WriteVerbose("Repository store reset successfully. PSGallery has been registered.");
6161

62-
if (PassThru && psGalleryRepo != null)
62+
if (PassThru)
6363
{
6464
WriteObject(psGalleryRepo);
6565
}

0 commit comments

Comments
 (0)