webmd-health-services/ProGetAutomation

Test-ProGetFeed FeedType param doesn't do anything

Closed this issue · 0 comments

First off, thanks for the module, has been helpful!

I am running Proget 5.0.11.

Noticed that Test-ProGetFeed does not appear to actually take FeedType into account and returns True as long as feed name exists.

To repro:
Create a Chocolatey feed named "Test".
Run "Test-ProGetFeed -Session $YourSession -FeedName Test -FeedType Powershell"
You will see a true get returned.

We could add logic to the Test-ProgetFeed function to actually verify FeedType and name, or open an issue up with Inedo that Feeds_GetFeed is improperly returning a result when we pass in a feedname and feedtype combo that doesn't actually exist.