Skip to content

Commit

Permalink
Fix underspec (thanks Kostis Sagonas)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuncer Ayaz committed Jan 13, 2011
1 parent 932eb2e commit 8940f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rebar_erlc_compiler.erl
Expand Up @@ -164,7 +164,7 @@ doterl_compile(Config, OutDir, MoreSources) ->
%% Internal functions %% Internal functions
%% =================================================================== %% ===================================================================


-spec include_path(Source::string(), Config::#config{}) -> [string()]. -spec include_path(Source::string(), Config::#config{}) -> [string(), ...].
include_path(Source, Config) -> include_path(Source, Config) ->
ErlOpts = rebar_config:get(Config, erl_opts, []), ErlOpts = rebar_config:get(Config, erl_opts, []),
["include", filename:dirname(Source)] ++ proplists:get_all_values(i, ErlOpts). ["include", filename:dirname(Source)] ++ proplists:get_all_values(i, ErlOpts).
Expand Down

0 comments on commit 8940f07

Please sign in to comment.