bazel packages: restore negation operator carelessly removed by commit
The effect was to enable a long-disabled license check in Bazel and
disable the check in Blaze.
Fixes github.com/bazelbuild/bazel/issues/10995
@@ -125,7 +125,7 @@ public class RuleFactory {
// This flag is overridable by RuleClass.ThirdPartyLicenseEnforcementPolicy (which is checked
// in RuleClass). This lets Bazel and Blaze migrate away from license logic on independent
// timelines. See --incompatible_disable_third_party_license_checking comments for details.
- boolean checkThirdPartyLicenses = semantics.incompatibleDisableThirdPartyLicenseChecking();
+ boolean checkThirdPartyLicenses = !semantics.incompatibleDisableThirdPartyLicenseChecking();
return ruleClass.createRule(
pkgBuilder,
label,
