[flutter_tools] ensure ErrorHandlingFileSystem wraps current directory (#66680)

The lack of current directory wrapping was letting some of the already handled errors through

Fixes #66675
This commit is contained in:
Jonah Williams
2020-09-25 14:29:22 -07:00
committed by GitHub
parent fd0e223b74
commit 99d0954857
2 changed files with 22 additions and 2 deletions

View File

@@ -45,6 +45,9 @@ class ErrorHandlingFileSystem extends ForwardingFileSystem {
final Platform _platform;
@override
Directory get currentDirectory => directory(delegate.currentDirectory);
@override
File file(dynamic path) => ErrorHandlingFile(
platform: _platform,