simple-git
Advanced tools
Comparing version 1.36.0 to 1.37.0
{ | ||
"name": "simple-git", | ||
"description": "Simple GIT interface for node.js", | ||
"version": "1.36.0", | ||
"version": "1.37.0", | ||
"author": "Steve King <steve@mydev.co>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -483,3 +483,3 @@ (function () { | ||
return this.remote(args, function (err, data) { | ||
next(err, !err && function () { | ||
next && next(err, !err && function () { | ||
return data.trim().split('\n').reduce(function (remotes, remote) { | ||
@@ -486,0 +486,0 @@ var detail = remote.trim().split(/\s+/); |
@@ -646,2 +646,17 @@ | ||
'); | ||
}, | ||
'Does not throw when there is no supplied function': function (test) { | ||
git.getRemotes(true); | ||
test.doesNotThrow(function () { | ||
closeWith('\ | ||
origin s://u@d.com/u/repo.git (fetch)\n\ | ||
origin s://u@d.com/u/repo.git (push)\n\ | ||
upstream s://u@d.com/another/repo.git (fetch)\n\ | ||
upstream s://u@d.com/another/repo.git (push)\n\ | ||
'); | ||
}); | ||
test.done(); | ||
} | ||
@@ -648,0 +663,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90071
2118