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

Issue 1292003005: Don't crash for pre-1.12 global packages. (Closed)

Created:
5 years, 4 months ago by nweiz
Modified:
5 years, 4 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/pub.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Don't crash for pre-1.12 global packages. We were assuming that all globally-activated packages have a .packages file, but this isn't true for packages that were activated by earlier versions of pub. Closes #1316 R=rnystrom@google.com Committed: https://github.com/dart-lang/pub/commit/d90268693d1a9dbe5ea11cd9c80b842e3bf1581c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -2 lines) Patch
M lib/src/executable.dart View 1 chunk +6 lines, -1 line 0 comments Download
M lib/src/global_packages.dart View 1 chunk +0 lines, -1 line 0 comments Download
A test/global/run/runs_script_without_packages_file_test.dart View 1 chunk +55 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
nweiz
5 years, 4 months ago (2015-08-18 20:05:17 UTC) #1
Bob Nystrom
lgtm
5 years, 4 months ago (2015-08-18 20:59:36 UTC) #2
nweiz
5 years, 4 months ago (2015-08-18 21:25:26 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
d90268693d1a9dbe5ea11cd9c80b842e3bf1581c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698