Skip to content

[🐛] Sync function does not delete shallow clones #435

@crashboogie

Description

@crashboogie

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions