Skip to content

Commit

Permalink
Add migration note about how PUB_CACHE has moved (#4882)
Browse files Browse the repository at this point in the history
Context: dart-lang/sdk#52386

---------

Co-authored-by: Anthony Sansone <[email protected]>
Co-authored-by: Parker Lougheed <[email protected]>
  • Loading branch information
3 people authored May 23, 2023
1 parent 0b55016 commit 19a68f2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/resources/dart-3-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,12 @@ analyzer:
have been cleaned up [#50700](https://github.com/dart-lang/sdk/issues/50700).
* The output of `dart format` changed a bit for
[some code](https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#formatter).
* Ending backwards compatibility for the old location of pub-cache on Windows.
Prior to Dart 3 `%APPDATA%\Pub\Cache` was a fallback location for pub-cache.
Starting with Dart 3, the default pub-cache is located at
`%LOCALAPPDATA%\Pub\Cache`.
If you have added globally activated packages to your `PATH`, consider
updating `PATH` to contain `%LOCALAPPDATA%\Pub\Cache\bin`.

#### Scope

Expand Down

0 comments on commit 19a68f2

Please sign in to comment.