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

FileNotFoundError when dir doesn't exist #34

Open
rdmarsh opened this issue Nov 7, 2023 · 0 comments
Open

FileNotFoundError when dir doesn't exist #34

rdmarsh opened this issue Nov 7, 2023 · 0 comments
Assignees

Comments

@rdmarsh
Copy link
Owner

rdmarsh commented Nov 7, 2023

Describe the bug
If you use the "-o file" to output to a file and the directory doesn't exist you'll get this error: FileNotFoundError: [Errno 2] No such file or directory:

To Reproduce
Steps to reproduce the behavior:

  1. elm -o non_dir/file.out
  2. See error

Expected behavior
An error saying the dir doesn't exist: non_dir/file.out: No such file or directory

Screenshots
FileNotFoundError: [Errno 2] No such file or directory: 'non_dir/file.out'

Desktop (please complete the following information):

  • OS: macos 13.6 (22G120)
  • Terminal: GNU bash, version 5.2.15(1)-release (aarch64-apple-darwin22.1.0)
  • Version: elm, version 1.0.4
@rdmarsh rdmarsh self-assigned this Nov 7, 2023
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

1 participant