forked from firka/flutter
[Windows] Improve symlink ERROR_ACCESS_DENIED error message (#154030)
Currently, if creating a symlink on Windows fails due to `ERROR_ACCESS_DENIED`, you'll get an error message like: ``` Error: ERROR_ACCESS_DENIED file system exception thrown while trying to create a symlink from source to dest ``` The `source` and `dest` paths are incorrect. This will help us debug: https://github.com/flutter/flutter/issues/153758
This commit is contained in:
@@ -993,8 +993,8 @@ void _createPlatformPluginSymlinks(Directory symlinkDirectory, List<Object?>? pl
|
||||
e,
|
||||
platform: globals.platform,
|
||||
os: globals.os,
|
||||
destination: 'dest',
|
||||
source: 'source',
|
||||
destination: link.path,
|
||||
source: path,
|
||||
);
|
||||
rethrow;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user