You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The order of the parameters are incorrect so a message like this can be recevied:
You are installing the module 'Git-Trusted-Certificates' from an untrusted repository 'Trusted'. Your current InstallationPolicy is
'https://nexus.contoso.com/nexus/service/local/nuget/nuget-hosted/'. If you trust the repository, set the policy to "Trusted". "Untrusted" otherwise.
Line 414 should be: Write-Warning -Message ($localizedData.InstallationPolicyWarning -f $Name, $packageFound.Source, $InstallationPolicy)
From @PlagueHO on September 25, 2016 20:1
See:
https://github.com/PowerShell/PackageManagementProviderResource/blob/master/DSCResources/MSFT_NugetPackage/MSFT_NugetPackage.psm1#L414
The order of the parameters are incorrect so a message like this can be recevied:
You are installing the module 'Git-Trusted-Certificates' from an untrusted repository 'Trusted'. Your current InstallationPolicy is
'https://nexus.contoso.com/nexus/service/local/nuget/nuget-hosted/'. If you trust the repository, set the policy to "Trusted". "Untrusted" otherwise.
Line 414 should be:
Write-Warning -Message ($localizedData.InstallationPolicyWarning -f $Name, $packageFound.Source, $InstallationPolicy)
Copied from original issue: PowerShell/PackageManagementProviderResource#31
The text was updated successfully, but these errors were encountered: