From 8e5c916cb6e93b484278e7463af3e7b07fe6db07 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Mon, 1 Dec 2014 17:54:47 -0600 Subject: move dir functions from utils to new module rebar_dir --- src/rebar_cover_utils.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rebar_cover_utils.erl') diff --git a/src/rebar_cover_utils.erl b/src/rebar_cover_utils.erl index 7de9d48..0439b8a 100644 --- a/src/rebar_cover_utils.erl +++ b/src/rebar_cover_utils.erl @@ -78,7 +78,7 @@ init(true, BeamFiles, TargetDir) -> group_leader(F, CoverPid), - ?INFO("Cover compiling ~s\n", [rebar_utils:get_cwd()]), + ?INFO("Cover compiling ~s\n", [rebar_dir:get_cwd()]), Compiled = [{Beam, cover:compile_beam(Beam)} || Beam <- BeamFiles], case [Module || {_, {ok, Module}} <- Compiled] of @@ -121,7 +121,7 @@ analyze(Config, FilteredModules, SrcModules, TargetDir) -> [html]) end, Coverage), - Index = filename:join([rebar_utils:get_cwd(), TargetDir, "index.html"]), + Index = filename:join([rebar_dir:get_cwd(), TargetDir, "index.html"]), ?CONSOLE("Cover analysis: ~s\n", [Index]), %% Export coverage data, if configured -- cgit v1.1