mirror of
https://github.com/reality/dbot.git
synced 2024-11-30 16:09:27 +01:00
stderr?
This commit is contained in:
parent
ae28db6e70
commit
90866a095d
@ -23,8 +23,8 @@ var adminCommands = function(dbot) {
|
|||||||
'greload': function(data, params) {
|
'greload': function(data, params) {
|
||||||
var child;
|
var child;
|
||||||
|
|
||||||
child = exec("cd ../ && git pull", function (error, stdout, stderr) {
|
child = exec("git pull", function (error, stdout, stderr) {
|
||||||
console.log(stdout);
|
console.log(stderr);
|
||||||
commands.reload(data, params);
|
commands.reload(data, params);
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user