|
|
@ -13,7 +13,7 @@ module.exports = { |
|
|
|
exec("git commit -m '" + msg + "'", function (error, stdout, stderr) { |
|
|
|
if (error) { |
|
|
|
// reject(error);
|
|
|
|
console.log(error); |
|
|
|
// console.log(error);
|
|
|
|
exec(banch ? "git push " + origin + " " + banch : "git push " + origin, function (error, stdout, stderr) { |
|
|
|
if (error) { |
|
|
|
reject(error); |
|
|
|