nodegit updated to v0.16.0

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 8 years ago
parent 46b044a7ea
commit 26c0bb4902
  1. 7
      BuildServer/lib/git/loader.js
  2. 2
      BuildServer/package.json

@ -36,10 +36,11 @@ module.exports = function (options, globalCallback) {
console.log("Cloning %s to %s", url, path); console.log("Cloning %s to %s", url, path);
nodegit.Repo.clone(url, path, null /*new nodegit.CloneOptions({"checkout_branch": options.branch})*/, function (err, repo) { nodegit.Clone(url, path)
if (err) { .catch(function(err) {
return globalCallback(err); return globalCallback(err);
} })
.then(function (repo) {
console.log("Cloned %s to %s", url, path); console.log("Cloned %s to %s", url, path);

@ -15,7 +15,7 @@
"graceful-fs": "^4.1.2", "graceful-fs": "^4.1.2",
"jade": "*", "jade": "*",
"mustache": "~0.8.1", "mustache": "~0.8.1",
"nodegit": "~0.1.4", "nodegit": "~0.16.0",
"nodemailer": "~0.6.0", "nodemailer": "~0.6.0",
"recursive-tree-copy": "0.0.1", "recursive-tree-copy": "0.0.1",
"underscore": "^1.8.3" "underscore": "^1.8.3"

Loading…
Cancel
Save