Comparing version 0.2.4 to 0.2.5
@@ -15,3 +15,3 @@ var fs = require('fs'); | ||
var getUrl = function(cb) { | ||
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git config --get remote.origin.url", {timeout: 30000}, | ||
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git config --get remote.origin.url", {timeout: 60000}, | ||
function(err, stdout, stderr) { | ||
@@ -28,3 +28,3 @@ if(err !== null) | ||
var getMeta = function(data, cb) { | ||
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git show --quiet --format=%H%n%aD%n%s%n%B HEAD", {timeout: 30000}, | ||
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git show --quiet --format=%H%n%aD%n%s%n%B HEAD", {timeout: 60000}, | ||
function(err, stdout, stderr) { | ||
@@ -42,3 +42,3 @@ if(err !== null) | ||
var getStaged = function(data, cb) { | ||
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git status -s", {timeout: 30000}, | ||
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git status -s", {timeout: 60000}, | ||
function(err, stdout, stderr) { | ||
@@ -53,3 +53,3 @@ if(err !== null) | ||
var getBranch = function(data, cb) { | ||
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git rev-parse --abbrev-ref HEAD", {timeout: 30000}, | ||
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git rev-parse --abbrev-ref HEAD", {timeout: 60000}, | ||
function(err, stdout, stderr) { | ||
@@ -64,3 +64,3 @@ if(err !== null) | ||
var getRemote = function(data, cb) { | ||
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git remote", {timeout: 30000}, | ||
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git remote", {timeout: 60000}, | ||
function(err, stdout, stderr) { | ||
@@ -79,3 +79,3 @@ if(err !== null) | ||
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git log "+data.remote+"/"+data.branch+" --pretty=oneline", | ||
{timeout: 30000}, | ||
{timeout: 60000}, | ||
function(err, stdout, stderr) { | ||
@@ -130,3 +130,3 @@ if(err !== null) | ||
exec("cd '"+folder+"';LC_ALL=en_US.UTF-8 git remote update >> /dev/null 2>&1; git log "+data.remote | ||
+"/"+data.branch+" --pretty=oneline -n 1", {timeout: 30000}, | ||
+"/"+data.branch+" --pretty=oneline -n 1", {timeout: 60000}, | ||
function(err, stdout, stderr) { | ||
@@ -154,3 +154,3 @@ var res = {}; | ||
ret.success = true; | ||
exec(command, {timeout: 30000}, | ||
exec(command, {timeout: 60000}, | ||
function(err, stdout, stderr) { | ||
@@ -157,0 +157,0 @@ ret.output += stdout; |
{ | ||
"name": "vizion", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"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