Skip to content

Commit

Permalink
Fix old call to filter_files/3 instead of /4
Browse files Browse the repository at this point in the history
  • Loading branch information
Licenser committed Nov 26, 2015
1 parent 7efc306 commit e78dc64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/elvis_config.erl
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ resolve_files(Config, Files) when is_list(Config) ->
resolve_files(RuleGroup, Files) ->
Filter = filter(RuleGroup),
Dirs = dirs(RuleGroup),
FilteredFiles = elvis_file:filter_files(Files, Dirs, Filter),
Ignore = ignore(RuleGroup),
FilteredFiles = elvis_file:filter_files(Files, Dirs, Filter, Ignore),
RuleGroup#{files => FilteredFiles}.

%% @doc Takes a configuration and finds all files according to its 'dirs'
Expand Down

0 comments on commit e78dc64

Please sign in to comment.