Adding debug
This commit is contained in:
Родитель
8a04c4cb7d
Коммит
d2847bd881
|
@ -4,6 +4,7 @@ const {
|
|||
|
||||
module.exports = {
|
||||
run: (command, commandScript, result) => {
|
||||
console.log(command, commandScript);
|
||||
exec(commandScript, (err, stdout, stderr) => {
|
||||
if (stderr || err) {
|
||||
console.log(`${command}:err`, err);
|
||||
|
|
|
@ -98,12 +98,6 @@ $(document).ready(() => {
|
|||
commandData = {};
|
||||
commandData.command = 'clean';
|
||||
commandData.timestamp = timestamp;
|
||||
|
||||
// return deployingApi('clean', timestamp).then(() => {
|
||||
|
||||
// };
|
||||
|
||||
|
||||
}
|
||||
}).then(() => {
|
||||
return deployingApi('clean', timestamp)
|
||||
|
|
Загрузка…
Ссылка в новой задаче