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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/package_graph.dart

Issue 598883002: Fix an error-swallowing bug in pub and several bugs it was hiding. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 months 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
Index: sdk/lib/_internal/pub_generated/lib/src/package_graph.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/package_graph.dart b/sdk/lib/_internal/pub_generated/lib/src/package_graph.dart
index a52f405b17afca218e610dcbfd26d55e97a54799..7f6554cb1ffc8a3423f6765adc17d60633b3098b 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/package_graph.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/package_graph.dart
@@ -51,7 +51,7 @@ class PackageGraph {
var id = lockFile.packages[package];
if (id == null) return false;
var source = entrypoint.cache.sources[id.source];
- if (source is! CachedSource) return true;
+ if (source is! CachedSource) return false;
return packages[package].pubspec.transformers.isEmpty;
}
}

Powered by Google App Engine
This is Rietveld 408576698