Do not count .DS_Store as a file to disqualify a folder during prisma2 init
with a Starter Kit
#762
Labels
Milestone
prisma2 init
with a Starter Kit
#762
I gather that
prisma2 init
+ Starter Kit only works with empty directories. However, macOS's Finder creates a hidden.DS_Store
file that saves metadata about the directory itself (icon positions etc.). When this file is present,prisma2 init
+ Starter Kit fails with the following message:, which is technically correct, but I believe we should not count the existence of this
.DS_Store
file towards being a non-empty directory. I think we should either ignore it or delete it.Steps to reproduce (only on macOS):
abcd
folder.abcd
folder, create another folder, then delete it. (Make sure you do this in Finder,mkdir
in Terminal will not create the .DS_Store file)ls -a
in thisabcd
folder, and you should see the.DS_Store
file.prisma2 init
in theabcd
folder.The text was updated successfully, but these errors were encountered: