It was implicitly assumning that "/" would have no files in it, only directories. That's not true, for instance on macOS if you've navigated to the root directory in the Finder... Since we're assuming everything we check against is a directory, then we need to filter the completion for that coming in.
35 KiB
35 KiB