Private galleries don't register correctly #430
Labels
bug
The issue is a bug.
good first issue
The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub
help wanted
The issue is up for grabs for anyone in the community.
Problem description
When modifying Resolve-Dependency.psd1 to use a private internal gallery, build.ps1 throws errors because the arguments presented to Register-PSRepository in the splat are wrong.
This is the original splat:
The corrected splat:
Verbose logs
How to reproduce
Uncomment the splat in Resolve-Dependency.psd1 and provide valid arguments but leave the keys as originally coded.
Expected behavior
It should have registered my internal repo.
Current behavior
The build process dies when registering the internal repository.
Suggested solution
Correct the keys in the splat, though I suspect it may not be that simple depending on the varied versions of Powershell.
Operating system the target node is running
PowerShell version and build the target node is running
Module version used
The text was updated successfully, but these errors were encountered: