You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
vwkd
changed the title
Throw if subdirectory doesn't exist
Throw error if subdirectory doesn't exist
Aug 30, 2021
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.
The text was updated successfully, but these errors were encountered: