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

Issue 10752013: Add a --trace flag to make Pub print a stack trace on error. (Closed)

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

Description

Add a --trace flag to make Pub print a stack trace on error. Committed: https://code.google.com/p/dart/source/detail?r=9491

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -11 lines) Patch
utils/pub/pub.dart View 5 chunks +13 lines, -7 lines 2 comments Download
utils/tests/pub/pub_test.dart View 1 chunk +5 lines, -4 lines 0 comments Download
M utils/tests/pub/test_pub.dart View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
nweiz
8 years, 5 months ago (2012-07-09 22:51:03 UTC) #1
Bob Nystrom
One nit, otherwise LGTM! https://chromiumcodereview.appspot.com/10752013/diff/1/utils/pub/pub.dart File utils/pub/pub.dart (right): https://chromiumcodereview.appspot.com/10752013/diff/1/utils/pub/pub.dart#newcode88 utils/pub/pub.dart:88: command.run(cache, results, args); These names ...
8 years, 5 months ago (2012-07-09 23:00:36 UTC) #2
nweiz
8 years, 5 months ago (2012-07-09 23:38:09 UTC) #3
https://chromiumcodereview.appspot.com/10752013/diff/1/utils/pub/pub.dart
File utils/pub/pub.dart (right):

https://chromiumcodereview.appspot.com/10752013/diff/1/utils/pub/pub.dart#new...
utils/pub/pub.dart:88: command.run(cache, results, args);
On 2012/07/09 23:00:36, Bob Nystrom wrote:
> These names aren't very clear. How about:
> 
> results -> globalOptions
> args -> commandArgs

Done.

Powered by Google App Engine
This is Rietveld 408576698