mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +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