Skip to content

Commit 9b62e20

Browse files
committed
remove use of rebar_api:processing_base_dir/1
1 parent b1098d5 commit 9b62e20

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/pc_compilation.erl

+1-6
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,7 @@ expand_command(TmplName, Env, InFiles, OutFile) ->
135135
exec_compiler(Config, Source, Cmd, ShOpts) ->
136136
case rebar_utils:sh(Cmd, ShOpts) of
137137
{error, {_RC, RawError}} ->
138-
AbsSource = case rebar_api:processing_base_dir(Config) of
139-
true ->
140-
Source;
141-
false ->
142-
filename:absname(Source)
143-
end,
138+
AbsSource = filename:absname(Source),
144139
rebar_api:info("Compiling ~s", [AbsSource]),
145140
Error = re:replace(RawError, Source, AbsSource,
146141
[{return, list}, global]),

0 commit comments

Comments
 (0)