Skip to content

Commit

Permalink
hooks_deps: Hide false-positive warnings about gen_mod
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Sep 24, 2024
1 parent 15d73b9 commit 4a931b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/hook_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ warn_type({var, _, 'Type'}, #state{module = mod_delegation}, "not an atom") ->
ok;
warn_type({var, _, 'NS'}, #state{module = mod_delegation}, "not a binary") ->
ok;
warn_type({var, _, _}, #state{module = gen_mod}, _) ->
ok;
warn_type(Form, State, Warning) ->
log("~s:~p: Warning: " ++ Warning ++ ": ~s~n",
[State#state.file,
Expand Down

0 comments on commit 4a931b4

Please sign in to comment.