Skip to content

Commit

Permalink
Merge branch 'master' of github.com:rrrene/credo
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Sep 13, 2018
2 parents 1fc9b9a + 5cd7c00 commit 3fd99df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/credo/check/readability/alias_order.ex
Expand Up @@ -171,7 +171,8 @@ defmodule Credo.Check.Readability.AliasOrder do
compare_name = compare_name(ast)
modules = [{meta[:line], {Name.full(mod_list), multi_mod_list}, compare_name}]

accumulate_alias_into_group(ast, modules, meta[:line], aliases)
nested_mod_line = meta[:line] + 1
accumulate_alias_into_group(ast, modules, nested_mod_line, aliases)
end

defp find_alias_groups(ast, aliases), do: {ast, aliases}
Expand Down

0 comments on commit 3fd99df

Please sign in to comment.