Skip to content

Commit

Permalink
Fix coverage ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Dec 16, 2024
1 parent 0a76419 commit 519ab25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/firehose/lib/src/health/coverage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ class Coverage {
.where((file) => file.status != FileStatus.removed)
.where((file) => isInSomePackage(packages, file.filename))
.where((file) => isNotATest(packages, file.filename))
.whereNot(
(file) => ignoredFiles.any((glob) => glob.matches(file.filename)))
.toList();
print('The files of interest are $filesOfInterest');

var baseRepository = Repository(base);
var basePackages = baseRepository.locatePackages(ignore: ignoredFiles);
var basePackages = baseRepository.locatePackages(ignore: ignoredPackages);
print('Found packages $basePackages at $base');

var changedPackages = packages
Expand Down

0 comments on commit 519ab25

Please sign in to comment.