Skip to content

Commit 8d9ff84

Browse files
committed
show timer left
1 parent f44a44c commit 8d9ff84

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

app.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "Wechaty Cloud Bot for IO",
3-
"description": "Wechat for Bot. Get your own cloud bot by deploy me",
2+
"name": "Wechaty Cloud Bot for IO @ Heroku",
3+
"description": "Wechat for Bot. Get your Heroku cloud bot by deploy me",
44
"repository": "https://github.com/zixia/wechaty",
55
"logo": "https://raw.githubusercontent.com/zixia/wechaty/master/image/wechaty-icon.png",
66
"keywords": ["wechaty", "wechat", "bot", "chatbot", "framework", "cloudbot"],

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
, "scripts": {
77
"lint": "eslint src test"
88
, "pretest": "npm run lint"
9-
, "start": "node bin/io-bot.js"
9+
, "start": "bin/io-bot"
1010
, "demo": "node example/ding-dong-bot.js"
1111
, "test": "cross-env TAP_TIMEOUT=600 node test/*.spec.js"
1212
}
@@ -25,6 +25,7 @@
2525
, "framework"
2626
, "wechaty"
2727
, "微信控"
28+
, "zixia"
2829
]
2930
, "author": "Zhuohuan LI <[email protected]>"
3031
, "license": "ISC"

src/puppet-web/watchdog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function clearWatchDogTimer() {
6868
this.watchDogTimer = null
6969

7070
const timeLeft = this.watchDogTimerTime - Date.now()
71-
log.silly('PuppetWebWatchdog', 'clearWatchDogTimer() cleared, before %d seconds left', Math.ceil(timeLeft / 1000))
71+
log.silly('PuppetWebWatchdog', 'clearWatchDogTimer() [%d] seconds left', Math.ceil(timeLeft / 1000))
7272
} else {
7373
log.silly('PuppetWebWatchdog', 'clearWatchDogTimer() nothing to clear')
7474
}

0 commit comments

Comments
 (0)