3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 22:39:26 +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) {
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));
},