Skip to content

Commit

Permalink
Update src/elvis_style.erl
Browse files Browse the repository at this point in the history
  • Loading branch information
elbrujohalcon authored Dec 16, 2024
1 parent 151f5d5 commit b3b756e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/elvis_style.erl
Original file line number Diff line number Diff line change
Expand Up @@ -2048,12 +2048,7 @@ check_parent_remote(Zipper) ->
false;
ParentZipper ->
Parent = zipper:node(ParentZipper),
case ktn_code:type(Parent) of
remote ->
true;
_ ->
false
end
remote == ktn_code:type(Parent)
end.

%% State record in OTP module
Expand Down

0 comments on commit b3b756e

Please sign in to comment.