提交 8d9ff846 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

show timer left

上级 f44a44cc
{
"name": "Wechaty Cloud Bot for IO",
"description": "Wechat for Bot. Get your own cloud bot by deploy me",
"name": "Wechaty Cloud Bot for IO @ Heroku",
"description": "Wechat for Bot. Get your Heroku cloud bot by deploy me",
"repository": "https://github.com/zixia/wechaty",
"logo": "https://raw.githubusercontent.com/zixia/wechaty/master/image/wechaty-icon.png",
"keywords": ["wechaty", "wechat", "bot", "chatbot", "framework", "cloudbot"],
......
......@@ -6,7 +6,7 @@
, "scripts": {
"lint": "eslint src test"
, "pretest": "npm run lint"
, "start": "node bin/io-bot.js"
, "start": "bin/io-bot"
, "demo": "node example/ding-dong-bot.js"
, "test": "cross-env TAP_TIMEOUT=600 node test/*.spec.js"
}
......@@ -25,6 +25,7 @@
, "framework"
, "wechaty"
, "微信控"
, "zixia"
]
, "author": "Zhuohuan LI <zixia@zixia.net>"
, "license": "ISC"
......
......@@ -68,7 +68,7 @@ function clearWatchDogTimer() {
this.watchDogTimer = null
const timeLeft = this.watchDogTimerTime - Date.now()
log.silly('PuppetWebWatchdog', 'clearWatchDogTimer() cleared, before %d seconds left', Math.ceil(timeLeft / 1000))
log.silly('PuppetWebWatchdog', 'clearWatchDogTimer() [%d] seconds left', Math.ceil(timeLeft / 1000))
} else {
log.silly('PuppetWebWatchdog', 'clearWatchDogTimer() nothing to clear')
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册