| Index: pkg/analyzer/lib/src/generated/bazel.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/bazel.dart b/pkg/analyzer/lib/src/generated/bazel.dart
|
| index b81a0c8aee07dbc0f8023b8548ff91b7b060c722..64fbcc0fa32fb7b73e7a8271a2a0c62fd4d84ee0 100644
|
| --- a/pkg/analyzer/lib/src/generated/bazel.dart
|
| +++ b/pkg/analyzer/lib/src/generated/bazel.dart
|
| @@ -197,6 +197,11 @@ class BazelWorkspace {
|
| return file;
|
| }
|
| }
|
| + // Writable
|
| + File writableFile = provider.getFile(absolutePath);
|
| + if (writableFile.exists) {
|
| + return writableFile;
|
| + }
|
| // READONLY
|
| if (readonly != null) {
|
| File file = provider.getFile(context.join(readonly, relative));
|
| @@ -205,7 +210,7 @@ class BazelWorkspace {
|
| }
|
| }
|
| // Not generated, return the default one.
|
| - return provider.getFile(absolutePath);
|
| + return writableFile;
|
| } catch (_) {
|
| return null;
|
| }
|
|
|