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

Issue 10911085: Emit a non-zero exit code when Pub fails. (Closed)

Created:
8 years, 3 months ago by nweiz
Modified:
8 years, 3 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Emit a non-zero exit code when Pub fails. BUG=4922 Committed: https://code.google.com/p/dart/source/detail?r=11855

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -8 lines) Patch
M utils/pub/pub.dart View 3 chunks +5 lines, -3 lines 2 comments Download
M utils/tests/pub/pub_install_git_test.dart View 1 chunk +2 lines, -1 line 0 comments Download
M utils/tests/pub/pub_install_test.dart View 2 chunks +4 lines, -2 lines 0 comments Download
M utils/tests/pub/pub_update_test.dart View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
nweiz
8 years, 3 months ago (2012-09-05 00:42:48 UTC) #1
Bob Nystrom
One nit, but LGTM! https://chromiumcodereview.appspot.com/10911085/diff/1/utils/pub/pub.dart File utils/pub/pub.dart (right): https://chromiumcodereview.appspot.com/10911085/diff/1/utils/pub/pub.dart#newcode222 utils/pub/pub.dart:222: future.then((_) => exit(0)); Can you ...
8 years, 3 months ago (2012-09-05 00:52:00 UTC) #2
nweiz
8 years, 3 months ago (2012-09-05 00:59:19 UTC) #3
https://chromiumcodereview.appspot.com/10911085/diff/1/utils/pub/pub.dart
File utils/pub/pub.dart (right):

https://chromiumcodereview.appspot.com/10911085/diff/1/utils/pub/pub.dart#new...
utils/pub/pub.dart:222: future.then((_) => exit(0));
On 2012/09/05 00:52:00, Bob Nystrom wrote:
> Can you add a comment here saying this is success and that we explicitly exit
to
> make sure dart:io and other async stuff is killed?

Done.

Powered by Google App Engine
This is Rietveld 408576698