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:
elm -o non_dir/file.out
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)
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:
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):