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.
I'm trying to clone a repo with this code and I'm getting the error ''./tmp' exists and is not an empty directory':
When I run 'cd ./tmp' while in the same directory as the script, it gives me
-bash: cd: ./tmp: No such file or directory.