Permalink
Browse files

Merge branch 'master' of github.com:rrrene/credo

  • Loading branch information...
rrrene committed Sep 13, 2018
2 parents 1fc9b9a + 5cd7c00 commit 3fd99dfdd359e81ea836ae1f852b912a7f09be35
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/credo/check/readability/alias_order.ex
@@ -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}

0 comments on commit 3fd99df

Please sign in to comment.