Closed destinf closed 2 years ago
Hi! Thanks for the patch.
Instead of two calls, we could probably use file-regular-p
. Could you try that?
Thank you for the recommendation, my knowledge of elisp is fairly narrow. It looks like it works with file-regular-p
so I've updated the PR.
I think this is a rare case but I ran into an issue at $WORK where there is a
Gemfile
directory in thespec
folder. I don't think thatGemfile
s,Rakefile
s andBerksfile
s can be directories.This PR attempts to only look for files with the above names rather than both files and directories.