add new lints of linter-0.1.44 and enable unnecessary_parenthesis (#15585)
This commit is contained in:
committed by
GitHub
parent
d518bd2dc8
commit
217b2bdaa1
@@ -248,7 +248,7 @@ Future<XcodeBuildResult> buildXcodeProject({
|
||||
appIosDirectory: appDirectory,
|
||||
iosEngineDir: flutterFrameworkDir(buildInfo.mode),
|
||||
isSwift: app.isSwift,
|
||||
flutterPodChanged: (previousGeneratedXcconfig != currentGeneratedXcconfig),
|
||||
flutterPodChanged: previousGeneratedXcconfig != currentGeneratedXcconfig,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@ class VsCode {
|
||||
|
||||
static List<VsCode> _findInstalled(
|
||||
List<_VsCodeInstallLocation> allLocations) {
|
||||
final Iterable<_VsCodeInstallLocation> searchLocations =
|
||||
final Iterable<_VsCodeInstallLocation> searchLocations =
|
||||
_includeInsiders
|
||||
? allLocations
|
||||
: allLocations.where((_VsCodeInstallLocation p) => p.isInsiders != true);
|
||||
@@ -175,7 +175,7 @@ class VsCode {
|
||||
|
||||
@override
|
||||
String toString() =>
|
||||
'VS Code ($version)${(_extensionVersion != Version.unknown ? ', Dart Code ($_extensionVersion)' : '')}';
|
||||
'VS Code ($version)${_extensionVersion != Version.unknown ? ', Dart Code ($_extensionVersion)' : ''}';
|
||||
|
||||
static String _getVersionFromPackageJson(String packageJsonPath) {
|
||||
if (!fs.isFileSync(packageJsonPath))
|
||||
|
||||
Reference in New Issue
Block a user