소스 검색

Merge pull request #1959 from ferd/fix-cover-paths

Fix path coverage loading artifacts
pull/1965/head
Fred Hebert 6 년 전
committed by GitHub
부모
커밋
44f74dc01e
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -2
      src/rebar_prv_cover.erl

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

@ -320,7 +320,7 @@ cover_compile(State, apps) ->
AppDirs = app_dirs(Apps),
cover_compile(State, lists:filter(fun(D) -> ec_file:is_dir(D) end, AppDirs));
cover_compile(State, Dirs) ->
rebar_utils:update_code(rebar_state:code_paths(State, all_deps), [soft_purge]),
rebar_paths:set_paths([deps], State),
%% start the cover server if necessary
{ok, CoverPid} = start_cover(),
%% redirect cover output
@ -343,7 +343,6 @@ cover_compile(State, Dirs) ->
?WARN("Directory ~p error ~p", [Dir, Reason])
end
end, Dirs),
rebar_utils:cleanup_code_path(rebar_state:code_paths(State, default)),
ok.
is_ignored(Dir, File, ExclMods) ->

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