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

linting

上级 51dde56e
......@@ -317,7 +317,7 @@ export class PuppetWeb extends Puppet {
)
try {
await this.bridge.send(destination.id, content)
} catch(e) {
} catch (e) {
log.error('PuppetWeb', 'send() exception: %s', e.message)
throw e
}
......@@ -361,7 +361,7 @@ export class PuppetWeb extends Puppet {
public async getContact(id: string): Promise<any> {
try {
return await this.bridge.getContact(id)
} catch(e) {
} catch (e) {
log.error('PuppetWeb', 'getContact(%d) exception: %s', id, e.message)
throw e
}
......
......@@ -70,7 +70,7 @@
"semicolon": false,
"switch-default": false,
"trailing-comma": [
true,
false,
{
"multiline": "never",
"singleline": "never"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册