Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Unified Diff: pkg/analyzer/lib/source/pub_package_map_provider.dart

Issue 761533006: Fix the code completion timing test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/test/timing/timing_framework.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 732ef816e4d87da35c11afab1c2b10981b624768..c0d34316d114f0d9af9731b02cdb689737b9a74f 100644
--- a/pkg/analyzer/lib/source/pub_package_map_provider.dart
+++ b/pkg/analyzer/lib/source/pub_package_map_provider.dart
@@ -55,7 +55,7 @@ class PubPackageMapProvider implements PackageMapProvider {
AnalysisEngine.instance.logger.logInformation(
"Error running pub $PUB_LIST_COMMAND\n$exception\n$stackTrace");
}
- if (result.exitCode != 0) {
+ if (result == null || result.exitCode != 0) {
AnalysisEngine.instance.logger.logInformation(
"pub $PUB_LIST_COMMAND failed: exit code ${result.exitCode}");
return _error(folder);
« no previous file with comments | « pkg/analysis_server/test/timing/timing_framework.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698