Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

format option changed from ignore_file_strict to ignore_file_string #546

Open
neel-desh opened this issue Oct 1, 2024 · 3 comments
Open

Comments

@neel-desh
Copy link

neel-desh commented Oct 1, 2024

Environment

  • Elixir & Erlang/OTP versions (elixir --version):

  • elixir 1.17.2-otp-27

  • erlang 27.0.1

  • Which version of Dialyxir are you using? (cat mix.lock | grep dialyxir):
    "dialyxir": {:hex, :dialyxir, "1.4.4", "fb3ce8741edeaea59c9ae84d5cec75da00fa89fe401c72d6e047d11a61f65f70", [:mix], [{:erlex, ">= 0.2.7", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "cd6111e8017ccd563e65621a4d9a4a1c5cd333df30cebc7face8029cacb4eff6"}

Context

In newer latest version of Dialyxir
mix dialyzer --format ignore_file_strict
does not exists and is changed to
mix dialyzer --format ignore_file_string

Since docs were not updated had a hard time figuring out why this was not working.
Not sure if this was a decision to change this behaviour or a bug in Dialyxir

Error Returned

  • Unrecognized formatter ignore_file_strict received. Known formatters are dialyzer, dialyxir, github, ignore_file, ignore_file_string, raw, and short. Falling back to dialyxir.
@jeremyjh
Copy link
Owner

jeremyjh commented Oct 1, 2024

Thanks; this was not intentional, we'll change it back.

@neel-desh
Copy link
Author

@jeremyjh can I raise a PR fixing that??? would love too

@jeremyjh
Copy link
Owner

jeremyjh commented Oct 4, 2024

Sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants