Rubocop fails with File name too long when finding target files #9593
In one of our projects, we've started seeing the following error when running Rubocop:
The error is followed by a huge stacktrace that seems to indicate some kind of recursion not stopping correctly, see full output below.
Steps to reproduce
Unfortunately I cannot provide a reproducible project (closed source, proprietary etc etc), but all I have to do to reproduce the problem is run:
I would expect Rubocop to output a list of the files it's about to process. Curiously, it is only this folder that seems to result in that behavior. If I
The text was updated successfully, but these errors were encountered:
Oho, I've managed to reproduce this, full steps below:
It seems the presence of a directory entry called
Why I had that directory entry, I don't know - probably something I fat fingered at some point. Wether or not this is a bug in Rubocop, I'll let someone else be the judge of. Was I surprised by this behavior; very much so.
Do you want me to merge these extra details into the main issue description?