Expected behaviour
Sync function should delete the shallow clonses from the /tmp directory when finished analyzing.
Actual behaviour
snyk:clone-and-analyze Failed to delete /tmp/snyk-clone- Error was Error: ENOTEMPTY: directory not empty, rmdir '/tmp/snyk-clone-'
Steps to reproduce
/usr/local/bin/snyk-api-import sync --orgPublicId= --source=github
Debug log
See above in Actual behaviour