degit icon indicating copy to clipboard operation
degit copied to clipboard

Throw error if subdirectory doesn't exist

Open vwkd opened this issue 4 years ago • 0 comments

The ability to clone a subdirectory with degit user/repo/subdirectory is great!

Currently it seems that it doesn't check if the subdirectory exists in the repo. If it doesn't, it creates an empty target directory which mutates the file system. I'd like to see degit throw an error instead, just like it does if the repo itself doesn't exist.

vwkd avatar Aug 30 '21 15:08 vwkd