-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Exception on non-existent directory for :plt_core_path #398
Comments
Is this what people would really expect? Is there another mix task that handles non-existent paths that way for example? I'm just not really sure that the expectation should be to silently create the full path. |
I would support a |
If I specify
When this error was occured my first thoughts were:
|
@asummers after looking at this more closely I've kind of come around to @jrmnl point of view here - since this is a file we create, it may not be surprising to create its path and we already do this when we copy the base PLT's to the target directory. |
dialyxir fails when core directory does not exist. see jeremyjh/dialyxir#398 and it's PR jeremyjh/dialyxir#399 Signed-off-by: Mattia <[email protected]>
dialyxir fails when core directory does not exist. see jeremyjh/dialyxir#398 and it's PR jeremyjh/dialyxir#399 Signed-off-by: Mattia <[email protected]>
Environment
elixir: 1.10.3
otp_release: 23.0
Current behavior
When you set
:plt_core_path
to non existent folder you will get following exceiption onmix dialyzer
:Expected behavior
You can successfully create plt files in non existent folder.
The text was updated successfully, but these errors were encountered: