astpath icon indicating copy to clipboard operation
astpath copied to clipboard

Error if directory doesn't exist

Open ghost opened this issue 5 years ago • 1 comments

Currently, searching a directory that doesn't exist will silently fail.

$ astpath -d /tmp/this-dir-doesnt-exist './/Try'

If a directory doesn't exist because I misspelled it, I'd like to get an error.

ghost avatar Apr 28 '19 23:04 ghost

This is fixed in my fork - https://github.com/spookylukey/pyastgrep

spookylukey avatar Oct 27 '22 10:10 spookylukey