degit is unable to use subfolders on bitbucket, but it works on github. I've tried this with multiple syntaxes, but couldn't get it to work.
To reproduce
Clone a bitbucket repo with a subfolder:
degit https://bitbucket.org/cxcompany/public-examples/src/master/transaction-webhook-azure-functions webhook-example
degit https://bitbucket.org/cxcompany/public-examples/transaction-webhook-azure-functions webhook-example
degit bitbucket:cxcompany/public-examples/transaction-webhook-azure-functions webhook-example
Expected
The folder webhook-example should contain the files, or degit should throw an error if it doesn't exist.
Actual
The output says:
> cloned cxcompany/public-examples#HEAD to webhook-example
The folder webhook-example is created, but it is empty.
Note
On Github, however, degit works as expected:
degit saltyshiomix/nextron/examples/with-tailwindcss nextron-with-tailwind
degit is unable to use subfolders on bitbucket, but it works on github. I've tried this with multiple syntaxes, but couldn't get it to work.
To reproduce
Clone a bitbucket repo with a subfolder:
Expected
The folder
webhook-exampleshould contain the files, or degit should throw an error if it doesn't exist.Actual
The output says:
> cloned cxcompany/public-examples#HEAD to webhook-exampleThe folder
webhook-exampleis created, but it is empty.Note
On Github, however, degit works as expected: