spelling: locals in src/Microsoft.PackageManagement.PackageSourceListProvider
This commit is contained in:
parent
8fba57f5a0
commit
7c876d4482
|
@ -154,7 +154,7 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
var provider = request.PackageManagementService.GetAvailableProviders(request, new[] {"NuGet"}).FirstOrDefault();
|
||||
if (provider != null)
|
||||
{
|
||||
var donwloadrequest = PackageSourceListRequest.ExtendRequest(
|
||||
var downloadrequest = PackageSourceListRequest.ExtendRequest(
|
||||
new Dictionary<string, string[]>
|
||||
{
|
||||
{"Destination", new[] {package.Destination ?? ""}}
|
||||
|
@ -163,7 +163,7 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
package.IsTrustedSource,
|
||||
request);
|
||||
|
||||
var downloading = provider.DownloadPackage(pkgs[0], location, donwloadrequest);
|
||||
var downloading = provider.DownloadPackage(pkgs[0], location, downloadrequest);
|
||||
|
||||
foreach (var i in downloading)
|
||||
{
|
||||
|
|
|
@ -97,7 +97,7 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
}
|
||||
}
|
||||
|
||||
internal string DefaultCatlogFileLocation
|
||||
internal string DefaultCatalogFileLocation
|
||||
{
|
||||
get
|
||||
{
|
||||
|
@ -970,9 +970,9 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
if (force || this.ShouldContinue(Resources.Messages.QueryDownloadPackageSourceList.format(DefaultJSONSourceLocation), Resources.Messages.PackageSourceListNotFound.format(DefaultJSONFileLocation)))
|
||||
{
|
||||
WebDownloader.DownloadFile(DefaultJSONSourceLocation, DefaultJSONFileLocation, this, null);
|
||||
WebDownloader.DownloadFile(DefaultJSONCatalogFileLocation, DefaultCatlogFileLocation, this, null);
|
||||
if (System.IO.File.Exists(DefaultJSONFileLocation) && System.IO.File.Exists(DefaultCatlogFileLocation) &&
|
||||
PackageSourceListProvider.TestCatalogFile(DefaultJSONFileLocation, DefaultCatlogFileLocation, this))
|
||||
WebDownloader.DownloadFile(DefaultJSONCatalogFileLocation, DefaultCatalogFileLocation, this, null);
|
||||
if (System.IO.File.Exists(DefaultJSONFileLocation) && System.IO.File.Exists(DefaultCatalogFileLocation) &&
|
||||
PackageSourceListProvider.TestCatalogFile(DefaultJSONFileLocation, DefaultCatalogFileLocation, this))
|
||||
{
|
||||
addDefaultConfig = true;
|
||||
}
|
||||
|
|
|
@ -92,7 +92,7 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
return;
|
||||
}
|
||||
|
||||
int packagesRecevied = 0;
|
||||
int packagesReceived = 0;
|
||||
foreach (var i in installing)
|
||||
{
|
||||
request.YieldSoftwareIdentity(i.FastPackageReference, i.Name, i.Version, i.VersionScheme, i.Summary, i.Source, i.SearchKey, i.FullPath, i.PackageFilename);
|
||||
|
@ -111,10 +111,10 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
request.PackageManagementService.ImportPackageProvider(request, packageJson.Name, null, null, null, isRooted: false, force: false);
|
||||
}
|
||||
}
|
||||
packagesRecevied++;
|
||||
packagesReceived++;
|
||||
}
|
||||
|
||||
request.Verbose(Resources.Messages.NumberOfPackagesRecevied, packagesRecevied, provider.Name, "install-package");
|
||||
request.Verbose(Resources.Messages.NumberOfPackagesRecevied, packagesReceived, provider.Name, "install-package");
|
||||
}
|
||||
|
||||
internal static void GeInstalledPowershellArtifacts(PackageJson package, string requiredVersion, string minimumVersion, string maximumVersion, Dictionary<string, SoftwareIdentity> fastPackReftable, PackageSourceListRequest request)
|
||||
|
|
Loading…
Reference in a new issue