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

Add a check whether default_ignore file is empty during execution and ignores it if is #543

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

lnenad
Copy link
Contributor

@lnenad lnenad commented Sep 26, 2024

fixes #405 #542

Right now if the default ignore file .dialyzer_ignore.exs is empty the task will bug out as per issue #542. This PR adds a check for file size, in case it is 0 it proceeds as if the file didn't exist and prints out an info message explaining that the file is empty.

:ignore_warnings opt specified in mix.exs: .dialyzer_ignore.exs, but file is empty.

Unfortunately, without my changes, the test suite is failing so I wasn't sure about adding a test for this, also my lack of in depth testing experience with Elixir.

@jeremyjh jeremyjh merged commit 3768413 into jeremyjh:master Sep 28, 2024
18 checks passed
@jeremyjh
Copy link
Owner

Thanks!

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

Successfully merging this pull request may close these issues.

Error When Blank Ignore File
2 participants