enable no_literal_bool_comparisons lint (#126647)
This commit is contained in:
committed by
GitHub
parent
b45f9b36e8
commit
5e1ba701ed
@@ -508,7 +508,7 @@ class IosProject extends XcodeBasedProject {
|
||||
// In newer versions of Xcode, the build settings of the watchOS companion
|
||||
// app's scheme should contain the key INFOPLIST_KEY_WKCompanionAppBundleIdentifier.
|
||||
final bool watchIdentifierFound = xcodeProjectInfoFile.readAsStringSync().contains('WKCompanionAppBundleIdentifier');
|
||||
if (watchIdentifierFound == false) {
|
||||
if (!watchIdentifierFound) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user