Prerequisites
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 such
Actual 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.PSResourceGet
Visuals
No response
Prerequisites
Steps to reproduce
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
Visuals
No response