Index: pkg/analyzer/lib/source/pub_package_map_provider.dart |
diff --git a/pkg/analyzer/lib/source/pub_package_map_provider.dart b/pkg/analyzer/lib/source/pub_package_map_provider.dart |
index 38a9bbb53cc8c77ec6c2b298472e2ccd263db4a5..e16fbefac6eeb0f952a65ed89047aab9e18d2d81 100644 |
--- a/pkg/analyzer/lib/source/pub_package_map_provider.dart |
+++ b/pkg/analyzer/lib/source/pub_package_map_provider.dart |
@@ -71,8 +71,8 @@ class PubPackageMapProvider implements PackageMapProvider { |
if (result == null || result.exitCode != 0) { |
String exitCode = |
result != null ? 'exit code ${result.exitCode}' : 'null'; |
- AnalysisEngine.instance.logger.logInformation( |
- "pub $PUB_LIST_COMMAND failed: $exitCode"); |
+ AnalysisEngine.instance.logger |
+ .logInformation("pub $PUB_LIST_COMMAND failed: $exitCode"); |
return computePackageMapError(folder); |
} |
try { |
@@ -96,7 +96,8 @@ class PubPackageMapProvider implements PackageMapProvider { |
// Unfortunately, "pub list-package-dirs" doesn't tell us dependencies when |
// an error occurs, so just assume there is one dependency, "pubspec.lock". |
List<String> dependencies = <String>[ |
- resourceProvider.pathContext.join(folder.path, PUBSPEC_LOCK_NAME)]; |
+ resourceProvider.pathContext.join(folder.path, PUBSPEC_LOCK_NAME) |
+ ]; |
return new PackageMapInfo(null, dependencies.toSet()); |
} |
@@ -155,9 +156,8 @@ class PubPackageMapProvider implements PackageMapProvider { |
* Run pub list to determine the packages and input files. |
*/ |
io.ProcessResult _runPubListDefault(Folder folder) { |
- return io.Process.runSync( |
- sdk.pubExecutable.getAbsolutePath(), |
- [PUB_LIST_COMMAND], |
- workingDirectory: folder.path); |
+ return io.Process.runSync(sdk.pubExecutable.getAbsolutePath(), [ |
+ PUB_LIST_COMMAND |
+ ], workingDirectory: folder.path); |
} |
} |