|
|
@ -60,7 +60,7 @@ commands['rebuild'].exec = function(args, room, event) {
|
|
|
|
|
|
|
|
|
|
|
|
matrixclient.sendNotice(room.roomId, 'rebuilding container ' + container);
|
|
|
|
matrixclient.sendNotice(room.roomId, 'rebuilding container ' + container);
|
|
|
|
|
|
|
|
|
|
|
|
remoterun('./rebuild.sh ' + container);
|
|
|
|
remoterun('./rebuild.sh ' + container)
|
|
|
|
.then(function(result) {
|
|
|
|
.then(function(result) {
|
|
|
|
matrixclient.sendNotice(room.roomId, event.sender.userId + '\nrebuilt container ' + container);
|
|
|
|
matrixclient.sendNotice(room.roomId, event.sender.userId + '\nrebuilt container ' + container);
|
|
|
|
}, function(result) {
|
|
|
|
}, function(result) {
|
|
|
|