-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
Steps to reproduce
Publish-PSResource -NupkgPath $path -Repository "111" -ModulePrefix "public/psresource" -debug
Publish-PSResource: A parameter cannot be found that matches parameter name 'ModulePrefix'.
Expected behavior
should print meaningful error such as "repository xxx was not registered" or suchActual behavior
when using -ModulePrefix with `-NupkgPath` and `-Repository`; if repository was not registered it printed cannot find parameter 'ModulePrefix'Error details
Environment data
Binary 1.1.1 Microsoft.PowerShell.PSResourceGetVisuals
No response
Reactions are currently unavailable