DescriptionFix several problems with offline mode.
* Some HTTP requests were still being made. These are now avoided, and
the tests have been modified to assert that no HTTP requests are made
at all.
* When a specific package version was in a package's lockfile *and*
available on the server but wasn't in the user's cache, pub would
crash when run in offline mode.
Closes #1293
Print a nice error for missing offline packages.
Previously, this would print an unhelpful message along with "this is an
unexpected error".
Closes #1293
R=rnystrom@google.com
Committed: https://github.com/dart-lang/pub/commit/e47378e67dc1ce1774d611768e04429dddabd7ec
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|