提交 a2eee797 编写于 作者: M Matt Bierner

Use 2018 as target for extensions since we are now running on node 10

上级 4eb65f97
{ {
"compilerOptions": { "compilerOptions": {
"target": "es2017", "target": "es2018",
"module": "commonjs", "module": "commonjs",
"lib": [
"es6",
"es2015.promise"
],
"strict": true, "strict": true,
"alwaysStrict": true, "alwaysStrict": true,
"noImplicitAny": true, "noImplicitAny": true,
......
...@@ -157,8 +157,7 @@ class GetErrRequest { ...@@ -157,8 +157,7 @@ class GetErrRequest {
}; };
client.executeAsync('geterr', args, _token.token) client.executeAsync('geterr', args, _token.token)
.catch(() => true) .finally(() => {
.then(() => {
if (this._done) { if (this._done) {
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册