File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/chocolatey/infrastructure.app/services Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1007,9 +1007,9 @@ protected virtual ChocolateyConfiguration set_package_config_for_upgrade(Chocola
1007
1007
1008
1008
// there may be overrides from the user running upgrade
1009
1009
if ( ! string . IsNullOrWhiteSpace ( originalConfig . SourceCommand . Username ) ) config . SourceCommand . Username = originalConfig . SourceCommand . Username ;
1010
- if ( ! string . IsNullOrWhiteSpace ( originalConfig . SourceCommand . Password ) ) config . SourceCommand . Username = originalConfig . SourceCommand . Password ;
1011
- if ( ! string . IsNullOrWhiteSpace ( originalConfig . SourceCommand . Certificate ) ) config . SourceCommand . Username = originalConfig . SourceCommand . Certificate ;
1012
- if ( ! string . IsNullOrWhiteSpace ( originalConfig . SourceCommand . CertificatePassword ) ) config . SourceCommand . Username = originalConfig . SourceCommand . CertificatePassword ;
1010
+ if ( ! string . IsNullOrWhiteSpace ( originalConfig . SourceCommand . Password ) ) config . SourceCommand . Password = originalConfig . SourceCommand . Password ;
1011
+ if ( ! string . IsNullOrWhiteSpace ( originalConfig . SourceCommand . Certificate ) ) config . SourceCommand . Certificate = originalConfig . SourceCommand . Certificate ;
1012
+ if ( ! string . IsNullOrWhiteSpace ( originalConfig . SourceCommand . CertificatePassword ) ) config . SourceCommand . CertificatePassword = originalConfig . SourceCommand . CertificatePassword ;
1013
1013
1014
1014
return originalConfig ;
1015
1015
}
You can’t perform that action at this time.
0 commit comments