generated from vkatsuba/rebar3_plugin
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update- Add compatibility with OTP 26 and 27
- Loading branch information
1 parent
ab627de
commit 9dfd3f8
Showing
3 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
case string:to_integer( | ||
erlang:system_info(otp_release)) | ||
of | ||
{N, _} when N >= 26 -> | ||
{value, {dialyzer, DOpts}, Config} = lists:keytake(dialyzer, 1, CONFIG), | ||
{value, {warnings, Warnings}, OtherDOpts} = lists:keytake(warnings, 1, DOpts), | ||
[{dialyzer, [{warnings, [no_unknown | Warnings]} | OtherDOpts]} | Config]; | ||
_ -> | ||
CONFIG | ||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters