From 1b02668014f903a81a5b11061df0f963c025b646 Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Wed, 11 Aug 2021 16:51:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9kill=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/services/cron.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/services/cron.ts b/back/services/cron.ts index 726ab6e6..fc41d3f0 100644 --- a/back/services/cron.ts +++ b/back/services/cron.ts @@ -218,7 +218,7 @@ export default class CronService { killLogs.push(stdout); } } - return killLogs.length > 0 ? killLogs : ''; + return killLogs.length > 0 ? JSON.stringify(killLogs) : ''; } catch (e) { return JSON.stringify(e); }