Skip to content

Commit

Permalink
Release 1.4.4
Browse files Browse the repository at this point in the history
- Fix #6 Warn in CoveredLinesCollector.rakumod
  • Loading branch information
atroxaper committed Oct 23, 2021
2 parents be616fd + e2a46fd commit cf9b144
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Version history:

1.4.3 2021-10-22 'Bugfix release'
1.4.4 2021-10-23 'Bugfix release'
- Fix #6 Warn in CoveredLinesCollector.rakumod

1.4.3 2021-10-23 'Bugfix release'
- Fix project name getter for html page
- Fix JS of report.html
- Make .precomp directory check as ambiguous be before run tests
Expand Down
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "App::RaCoCo",
"description": "Raku Code Coverage tool.",
"version": "1.4.3",
"version": "1.4.4",
"perl": "6.*",
"authors": [
"Mikhail Khorkov"
Expand Down
2 changes: 1 addition & 1 deletion lib/App/Racoco/CoveredLinesCollector.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class CoveredLinesCollector is export {
.unique
.map(-> $h { .[0] => .[2] with $h.words})
.classify({ $_.key })
.map({ $_.key => $_.value.map({$_.value.Int or -1}).grep(* ne -1).Set })
.map({ $_.key => $_.value.map({ (($_.value // 0).Int // 0) }).grep(* > 0).Set })
.Hash
}
}
Expand Down

0 comments on commit cf9b144

Please sign in to comment.