Also show in logs

This commit is contained in:
loicbersier 2019-02-13 17:55:47 +01:00
parent 7df050e5a3
commit d807067acd

View file

@ -21,6 +21,8 @@ class EvalCommand extends Command {
const { stdout, stderr } = await exec('git pull'); const { stdout, stderr } = await exec('git pull');
message.channel.send(stdout); message.channel.send(stdout);
message.channel.send(stderr); message.channel.send(stderr);
console.log(`stdout: ${stdout}`);
console.log(`stderr: ${stderr}`);
} }
update(); update();
} }