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

Issue 365443002: Handle a failure in "pub list-package-dirs". (Closed)

Created:
6 years, 5 months ago by Paul Berry
Modified:
6 years, 5 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Handle a failure in "pub list-package-dirs". This can happen if the user tries to open a folder that contains no pubspec.yaml file (and thus no pubspec.lock file). When this happens, we artificially treat 'pubspec.lock' as a dependency, so that if the user later creates a pubspec.yaml and runs 'pub get', we will automatically re-run "pub list-package-dirs". R=brianwilkerson@google.com Committed: https://code.google.com/p/dart/source/detail?r=37831

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -6 lines) Patch
M pkg/analysis_server/lib/src/context_directory_manager.dart View 2 chunks +0 lines, -2 lines 0 comments Download
M pkg/analysis_server/lib/src/package_map_provider.dart View 6 chunks +25 lines, -3 lines 0 comments Download
M pkg/analysis_server/test/context_directory_manager_test.dart View 4 chunks +22 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Paul Berry
6 years, 5 months ago (2014-06-30 18:53:17 UTC) #1
Brian Wilkerson
LGTM
6 years, 5 months ago (2014-06-30 18:55:49 UTC) #2
Paul Berry
6 years, 5 months ago (2014-06-30 19:35:03 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r37831 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698