whitespace cleanup (#14458)
This commit is contained in:
committed by
GitHub
parent
f5dea9325b
commit
3c379aaf43
@@ -238,7 +238,7 @@ class UpdatePackagesCommand extends FlutterCommand {
|
||||
final List<_DependencyLink> paths = <_DependencyLink>[];
|
||||
|
||||
traversalQueue.addFirst(new _DependencyLink(from: null, to: from));
|
||||
while(traversalQueue.isNotEmpty) {
|
||||
while (traversalQueue.isNotEmpty) {
|
||||
final _DependencyLink link = traversalQueue.removeLast();
|
||||
if (link.to == to)
|
||||
paths.add(link);
|
||||
|
||||
@@ -65,7 +65,7 @@ List<Plugin> _findPlugins(String directory) {
|
||||
try {
|
||||
final String packagesFile = fs.path.join(directory, PackageMap.globalPackagesPath);
|
||||
packages = new PackageMap(packagesFile).map;
|
||||
} on FormatException catch(e) {
|
||||
} on FormatException catch (e) {
|
||||
printTrace('Invalid .packages file: $e');
|
||||
return plugins;
|
||||
}
|
||||
|
||||
@@ -1045,7 +1045,7 @@ class Isolate extends ServiceObjectOwner {
|
||||
}
|
||||
final Map<String, dynamic> response = await invokeRpcRaw('_reloadSources', params: arguments);
|
||||
return response;
|
||||
} on rpc.RpcException catch(e) {
|
||||
} on rpc.RpcException catch (e) {
|
||||
return new Future<Map<String, dynamic>>.error(<String, dynamic>{
|
||||
'code': e.code,
|
||||
'message': e.message,
|
||||
|
||||
Reference in New Issue
Block a user