Skip to content

Commit

Permalink
Add missing localization error handling for root level localization i…
Browse files Browse the repository at this point in the history
…nfo (#2220)
  • Loading branch information
JohnMcPMS authored Jun 6, 2022
1 parent babc5a4 commit 9d34634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AppInstallerCommonCore/Manifest/ManifestValidation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9d34634

Please sign in to comment.