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

code clean

上级 8a087ab5
......@@ -33,6 +33,7 @@ $ WECHATY_LOG=silly node dist/mybot.js
<summary>
Show Logs
</summary>
### Paste the full output logs here with `WECHATY_LOG=silly` set
```shell
......
......@@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2016-2017 Huan LI <zixia@zixia.net>
Copyright 2016-2018 Huan LI <zixia@zixia.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
......
......@@ -10,7 +10,7 @@ set -e
[ -n "$NO_HOOK" ] && exit 0
[ -n "$WECHATY_INNER_PRE_HOOK" ] && {
[ -n "$HUAN_INNER_PRE_HOOK" ] && {
# http://stackoverflow.com/a/21334985/1123955
exit 0
}
......@@ -21,7 +21,7 @@ npm run lint
# git rebase
rm -f package-lock.json
npm version patch --no-package-lock
WECHATY_INNER_PRE_HOOK=1 git push
HUAN_INNER_PRE_HOOK=1 git push
cat <<'_STR_'
____ _ _ ____ _
......
......@@ -85,9 +85,14 @@ if (/verbose|silly/i.test(log.level())) {
})
}
export type PuppetName = 'web'
| 'android'
| 'ios'
export type PuppetName = 'android-pad'
| 'android-phone'
| 'cat-king'
| 'hostie'
| 'ios-app-phone'
| 'ios-app-pad'
| 'web'
| 'win32'
export interface DefaultSetting {
DEFAULT_HEAD : number,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册