소스 검색

Account for division by zero

pull/983/head
Panagiotis PJ Papadomitsos 9 년 전
부모
커밋
ae9c1fa0f8
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      src/rebar_prv_cover.erl

+ 2
- 0
src/rebar_prv_cover.erl 파일 보기

@ -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(

불러오는 중...
취소
저장