[Bug] Can't degit into an empty directory when omiting folder name
See original GitHub issueI’m trying to clone a repo into the current directory I’m on, and I keep getting an error, event when the directory is empty.
This is the error I’m getting:
! destination directory is not empty, aborting. Use --force to override
@Rich-Harris I’m not mistaken, it’s a bug, right?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:5
Top Results From Across the Web
6 Solutions on Folder Shows Empty But Files Are There ...
Here's how to unhide files to fix this folder is empty Windows 10/11 problem: Step 1: In the Windows search field, enter “folder...
Read more >Can 7zip remove empty directories after extracting an archive?
The problem comes after everything is extracted -- I'm left with some empty folders in my output directory. Is there a way for...
Read more >Folder Shows Empty but Files Are There Windows 10/8/7
As a result, the folder is empty but has size. The possible causes of the folder show empty but files are there is...
Read more >4878 – CVS doesn't handle empty folders - Bugs - Eclipse
This seems to indicate that it got into a confusing state because I first created W.txt as an empty folder, then replaced it...
Read more >Vomiting in adults - Illnesses and conditions | NHS inform
One of the most common causes of vomiting in adults is gastroenteritis. This is an infection of the gut usually caused by bacteria...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I receive the notification from Github and just test it with
degit sveltejs/template my-app
, nothing is wrong. I forgot to check the degit version. (It’s late, because I reinstall degit just now.)what version are you on? v2.8.0 worked here