AdRoll / rebar3_hank

The Erlang Dead Code Cleaner
MIT License
68 stars 9 forks source link

The `{unused_callbacks, cb_func_name_to_ignore}` is not working #114

Closed vkatsuba closed 3 years ago

vkatsuba commented 3 years ago

Hi All,

Not sure but looks like {unused_callbacks, cb_func_name_to_ignore} is not working, I'm try put for ignore some callback function from optional_callbacks and looks like this is not working for me. Tried constructions:

-hank([{unused_callbacks, callback_func_name}]).
-hank([{unused_callbacks, callback_func_name/1}]).
-hank([{unused_callbacks, [callback_func_name/1]}]).
-hank([{unused_callbacks, [callback_func_name]}]).

Only -hank([unused_callbacks]). is working as expected.

Regards, --V

elbrujohalcon commented 3 years ago

It's correct. It was not implemented yet. Its implementation will be part of #84.

vkatsuba commented 3 years ago

Closed as duplicate.