winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9d34634d6868b26b606bf77c18d5978fd2eef907
parent babc5a429260b593a4c8a5aa10d66902ede25dbf
Author: JohnMcPMS <johnmcp@microsoft.com>
Date:   Mon,  6 Jun 2022 13:34:28 -0700

Add missing localization error handling for root level localization info (#2220)


Diffstat:
Msrc/AppInstallerCommonCore/Manifest/ManifestValidation.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/AppInstallerCommonCore/Manifest/ManifestValidation.cpp b/src/AppInstallerCommonCore/Manifest/ManifestValidation.cpp @@ -27,7 +27,7 @@ namespace AppInstaller::Manifest resultErrors.emplace_back(ManifestError::InvalidFieldValue, "PackageVersion", manifest.Version); } - auto defaultLocErrors = ValidateManifestLocalization(manifest.DefaultLocalization); + auto defaultLocErrors = ValidateManifestLocalization(manifest.DefaultLocalization, !fullValidation); std::move(defaultLocErrors.begin(), defaultLocErrors.end(), std::inserter(resultErrors, resultErrors.end())); // Comparison function to check duplicate installer entry. {installerType, arch, language and scope} combination is the key.