Closed ryanmortier closed 5 years ago
Solved. Yikes, actually the issue was pretty simple.
Turns out I had issued an ack ->confirmation_path
command earlier (working with PHP objects) and trying to find string literal ->confirmation_path
.
Unknowingly this had dumped acks output to a file named confirmation_path
including the composer.lock content.
Stupid mistake.
Glad you found it. I've done that more than a few times myself. I try to have the habit of looking for -.method_name
. Theoretically it could match -Xmethod_name
, but I use it for safety if I'm just snooping around a codebase.
ack
seems to be ignoring my ignored files but that isn't the worst part. The worst part is it keeps finding things in these weird non-files calledpath
,confirmation_
,confirmation_path
, etc.