Skip to content

Commit

Permalink
Handle case when there is now test sources
Browse files Browse the repository at this point in the history
  • Loading branch information
4tyTwo committed Oct 10, 2021
1 parent d685a78 commit 185337e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rebar_prv_common_test.erl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ do(State) ->
%% successfully compiled apps
{ok, S} ->
{ok, T} = Tests,
TestSources = proplists:get_value(dir, T),
TestSources = proplists:get_value(dir, T, []),
AllDeps = rebar_state:code_paths(S, all_deps),
IsTestDir = fun(Path) -> string:slice(Path, length(Path) - 4, 4) == "test" end,
CompiledTestsDirs = lists:filter(IsTestDir, AllDeps),
Expand Down

0 comments on commit 185337e

Please sign in to comment.