I would have thought this wouldn't happen

I was importing files and accidentally included the scrivener repository. All of the files were imported under the repository directory. I would have thought that a scrivener file would refuse to import itself.


A Scrivener file is just a directory like any other, so there is nothing explicitly stopping this from happening. Of course, I can’t see why anyone would want to do this, but it’s not a bug as nothing bad can happen if you do this. I can’t code for every single instance where a user may do something they didn’t intend, but only for the instances that can cause problems.