Skip to content

Commit

Permalink
Get local app data from environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Jul 19, 2023
1 parent 3e27287 commit 3802c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/link.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ final homeDirectory =

final pubCacheDirectory = Platform.environment['PUB_CACHE'] ??
(Platform.isWindows
? r'%LOCALAPPDATA%\Pub\Cache'
? Platform.environment['LOCALAPPDATA']! + r'\Pub\Cache'
: '$homeDirectory/.pub-cache');

Future<void> linkDependencies(List<Project> projects) async {
Expand Down

0 comments on commit 3802c76

Please sign in to comment.