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

fix case bug, and filename in start command

上级 ac899aea
......@@ -6,7 +6,7 @@
"scripts": {
"lint": "eslint src test",
"pretest": "npm run lint",
"start": "node bin/io-bot.js",
"start": "node bin/io-bot",
"demo": "node example/ding-dong-bot.js",
"test": "cross-env TAP_TIMEOUT=600 tap --reporter=tap test/{*,**/*}.spec.js"
},
......
......@@ -26,7 +26,7 @@ class Browser extends EventEmitter {
} = {}) {
super()
log.verbose('PuppetWebBrowser', 'constructor()')
this.head = head || false
this.head = String(head).toLowerCase() || false
this.sessionFile = sessionFile // a file to save session cookies
this.live = false
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册