From daed91a21611037f11fc60aa0a33a33174706ee8 Mon Sep 17 00:00:00 2001 From: Huan LI Date: Sat, 10 Dec 2016 19:15:21 +0800 Subject: [PATCH] clean --- example/ding-dong-bot.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/ding-dong-bot.ts b/example/ding-dong-bot.ts index 74c64017..526e7e8d 100644 --- a/example/ding-dong-bot.ts +++ b/example/ding-dong-bot.ts @@ -84,8 +84,8 @@ bot.init() process.exit(-1) }) -finis((code, reason) => { - const exitMsg = `Wechaty exit ${code} because of ${reason} ` +finis((code, signal) => { + const exitMsg = `Wechaty exit ${code} because of ${signal} ` console.log(exitMsg) bot.say(exitMsg) }) -- GitLab