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