File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -493,9 +493,9 @@ function Save-PackageLocally {
493
493
# We try to download the package from the PSRepositoryUrl as we are likely intending to use the existing version of the module.
494
494
# If the module not found in PSRepositoryUrl, the following command would fail and hence publish to local repo process would fail as well
495
495
if (Test-Path Env:\DEFAULT_PS_REPOSITORY_URL) {
496
- Save-PSResource - Name $ModuleName - Version $RequiredVersion - Path $TempRepoPath - Repository $Env: DEFAULT_PS_REPOSITORY_NAME - Credential $credentialsObject - AsNupkg - TrustRepository
496
+ Save-PSResource - Name $ModuleName - Version $RequiredVersion - Path $TempRepoPath - Repository $Env: DEFAULT_PS_REPOSITORY_NAME - Credential $credentialsObject - AsNupkg - TrustRepository - Verbose
497
497
} else {
498
- Save-PSResource - Name $ModuleName - Version $RequiredVersion - Path $TempRepoPath - Repository PSGallery - AsNupkg - TrustRepository
498
+ Save-PSResource - Name $ModuleName - Version $RequiredVersion - Path $TempRepoPath - Repository PSGallery - AsNupkg - TrustRepository - Verbose
499
499
}
500
500
$NupkgFilePath = Join-Path - Path $TempRepoPath - ChildPath " $ModuleName .$RequiredVersion .nupkg"
501
501
$ModulePaths = $env: PSModulePath -split ' ;'
You can’t perform that action at this time.
0 commit comments