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

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

Issue 899373002: Update pub to use the VM's new bad-snapshot exit code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix status and one more test Created 5 years, 10 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/executable.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/executable.dart b/sdk/lib/_internal/pub_generated/lib/src/executable.dart
index 621557232c043e08902a896b15f37d70bd9fc253..4df8afabe757b0e8cf398662d679f0c3faecefb6 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/executable.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/executable.dart
@@ -277,7 +277,7 @@ Future<int> runSnapshot(String path, Iterable<String> args, {recompile(),
}
}, onError: completer0.completeError);
}
- if (recompile == null || exitCode != 255) {
+ if (recompile == null || exitCode != 253) {
completer0.complete(exitCode);
} else {
join2();

Powered by Google App Engine
This is Rietveld 408576698