Deze website werkt beter met JavaScript.
Beginscherm
Verkennen
Help
Registreren
Inloggen
SisMaker
/
rebar3
Volgen
1
Ster
0
Vork
0
Code
Kwesties
0
Pull-aanvragen
0
Projects
0
Publicaties
62
Wiki
Activiteit
Bladeren bron
Account for division by zero
pull/983/head
Panagiotis PJ Papadomitsos
9 jaren geleden
bovenliggende
8c055a7d96
commit
ae9c1fa0f8
1 gewijzigde bestanden
met
toevoegingen van 2
en
0 verwijderingen
Zij-aan-zij weergave
Diff opties
Statistieken weergeven
Download Patch-bestand
Download Diff-bestand
+2
-0
src/rebar_prv_cover.erl
+ 2
- 0
src/rebar_prv_cover.erl
Bestand weergeven
@ -238,6 +238,8 @@ seperator(Width) ->
format
(
String
,
Width
)
-
>
io_lib
:
format
(
"
~
*.ts
"
,
[
Width
,
String
]
)
.
calculate_total
(
Stats
)
when
length
(
Stats
)
=:=
0
-
>
"
0%
"
;
calculate_total
(
Stats
)
-
>
TotalStats
=
length
(
Stats
)
,
TotalCovInt
=
round
(
lists
:
foldl
(
Schrijf
Voorbeeld
Laden…
Annuleren
Opslaan