Comparing version 0.2.9 to 0.2.10
@@ -77,3 +77,3 @@ var fs = require('fs'); | ||
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git show-ref refs/remotes/"+data.remote+"/"+data.branch, {timeout: TIMEOUT, maxBuffer: MAXBUFFER}, | ||
function(err, stdout, stderr) { | ||
function(err, stdout, stderr) { | ||
if (err) | ||
@@ -132,3 +132,17 @@ data.branch_exists_on_remote = false; | ||
async.waterfall([getUrl, getMeta, getStaged, getBranch, getRemote, getRemoteBrancheExistence, getPrevNext, getDate], | ||
var getTags = function(data, cb) { | ||
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git tag", {timeout: TIMEOUT, maxBuffer: MAXBUFFER}, | ||
function(err, stdout, stderr) { | ||
if (err !== null) | ||
return cb(err); | ||
if (stdout.length) { | ||
data.tags = stdout.split('\n'); | ||
data.tags.pop(); | ||
data.tags = data.tags.slice(0, 100); | ||
} | ||
return cb(null, data); | ||
}); | ||
}; | ||
async.waterfall([getUrl, getMeta, getStaged, getBranch, getRemote, getRemoteBrancheExistence, getPrevNext, getDate, getTags], | ||
function(err, data) { | ||
@@ -135,0 +149,0 @@ if (err !== null) |
{ | ||
"name": "vizion", | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=0.10" |
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
61790
657