3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-30 16:09:27 +01:00
This commit is contained in:
Luke Slater 2012-03-10 18:00:16 +00:00
parent ae28db6e70
commit 90866a095d

View File

@ -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));
}, },