You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
A more graceful exit. It might also be reasonable to check to make sure there is not an existing directory when the command is first launched.
The text was updated successfully, but these errors were encountered:
Describe the bug
Using an existing directory as the argument for
--outfile
(this was unintentional) led to an internal exception.To Reproduce
Steps to reproduce the behavior:
foo
scalene --cli --outfile foo prog.py
IsADirectoryError: [Errno 21] Is a directory: '/Users/XXX/tmp/foo'
Minimum working example:
prog.py
:Expected behavior
A more graceful exit. It might also be reasonable to check to make sure there is not an existing directory when the command is first launched.
The text was updated successfully, but these errors were encountered: