diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2016-11-20 21:40:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-20 21:40:54 -0500 |
commit | 8c4da25be01969d2392ed8229cccfda42316c306 (patch) | |
tree | c10cd279eacf1a2af637d42f8b2a876da991c7a3 /src/rebar_prv_cover.erl | |
parent | ca0995b73b104964ab20ceed440aa323976cbc09 (diff) | |
parent | e85cf555e24b2a4b9b8681b9028c87826a2c0ea6 (diff) |
Merge pull request #1381 from ferd/fix-dialyzer-warnings
Fix rebar3 dialyzer warnings
Diffstat (limited to 'src/rebar_prv_cover.erl')
-rw-r--r-- | src/rebar_prv_cover.erl | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/rebar_prv_cover.erl b/src/rebar_prv_cover.erl index b62a796..e53a687 100644 --- a/src/rebar_prv_cover.erl +++ b/src/rebar_prv_cover.erl @@ -88,14 +88,9 @@ analyze(State) -> %% in order for cover data to be reloaded %% this maybe breaks if modules have been deleted %% since code coverage was collected? - case rebar_prv_compile:do(State) of - %% successfully compiled apps - {ok, S} -> - ok = cover_compile(S, apps), - do_analyze(State); - %% this should look like a compiler error, not a cover error - Error -> Error - end. + {ok, S} = rebar_prv_compile:do(State), + ok = cover_compile(S, apps), + do_analyze(State). do_analyze(State) -> ?INFO("Performing cover analysis...", []), |