Bug fix for non-PSGallery v2 repositories adding "/items/psscript/" to the endpoint (an endpoint which only exists for the PSGallery). This was creating incorrect HTTP calls to non-PSGallery repositories and throwing terminating errors.
If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.
PR Summary
Bug fix for non-PSGallery v2 repositories adding "/items/psscript/" to the endpoint (an endpoint which only exists for the PSGallery). This was creating incorrect HTTP calls to non-PSGallery repositories and throwing terminating errors.
PR Context
Resolves #1485
PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.