Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

'Error: 'directory' exists and is not an empty directory' (but it doesn't exist) #530

Copy link
Copy link
@btarm

Description

@btarm
Issue body actions

I'm trying to clone a repo with this code and I'm getting the error ''./tmp' exists and is not an empty directory':

var git = require('nodegit');

var repos = [https repos]

for(i = 0; i<repos.length; i++){
    git.Clone(repos[i], './tmp', {ignoreCert}).catch(function(err) { console.error(err); } );
}

When I run 'cd ./tmp' while in the same directory as the script, it gives me -bash: cd: ./tmp: No such file or directory.

Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.