mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Fix underspec (thanks Kostis Sagonas)
This commit is contained in:
parent
932eb2e343
commit
8940f07801
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ doterl_compile(Config, OutDir, MoreSources) ->
|
|||
%% Internal functions
|
||||
%% ===================================================================
|
||||
|
||||
-spec include_path(Source::string(), Config::#config{}) -> [string()].
|
||||
-spec include_path(Source::string(), Config::#config{}) -> [string(), ...].
|
||||
include_path(Source, Config) ->
|
||||
ErlOpts = rebar_config:get(Config, erl_opts, []),
|
||||
["include", filename:dirname(Source)] ++ proplists:get_all_values(i, ErlOpts).
|
||||
|
|
Loading…
Reference in a new issue