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

code clean

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