| Index: sdk/lib/_internal/pub_generated/lib/src/cached_package.dart
|
| diff --git a/sdk/lib/_internal/pub_generated/lib/src/cached_package.dart b/sdk/lib/_internal/pub_generated/lib/src/cached_package.dart
|
| index dc9fa40038c0d4da56b3a6f1858f933fe80a9396..67a8e6a78ed3ab98920101dac73aab0d60794b42 100644
|
| --- a/sdk/lib/_internal/pub_generated/lib/src/cached_package.dart
|
| +++ b/sdk/lib/_internal/pub_generated/lib/src/cached_package.dart
|
| @@ -22,10 +22,16 @@ class CachedPackage extends Package {
|
| if (p.isWithin(path, _cacheDir)) return p.relative(path, from: _cacheDir);
|
| return super.relative(path);
|
| }
|
| - List<String> listFiles({String beneath, recursive: true}) {
|
| - if (beneath == null) return super.listFiles(recursive: recursive);
|
| + List<String> listFiles({String beneath, recursive: true, bool useGitIgnore:
|
| + false}) {
|
| + if (beneath == null) {
|
| + return super.listFiles(recursive: recursive, useGitIgnore: useGitIgnore);
|
| + }
|
| if (_pathInCache(beneath)) return listDir(p.join(_cacheDir, beneath));
|
| - return super.listFiles(beneath: beneath, recursive: recursive);
|
| + return super.listFiles(
|
| + beneath: beneath,
|
| + recursive: recursive,
|
| + useGitIgnore: useGitIgnore);
|
| }
|
| bool _pathInCache(String relativePath) => p.isWithin('lib', relativePath);
|
| }
|
|
|