Skip to content

Commit

Permalink
Use 2018 as target for extensions since we are now running on node 10
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbvz committed Feb 21, 2019
1 parent 4eb65f9 commit a2eee79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions extensions/shared.tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"compilerOptions": {
"target": "es2017",
"target": "es2018",
"module": "commonjs",
"lib": [
"es6",
"es2015.promise"
],
"strict": true,
"alwaysStrict": true,
"noImplicitAny": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ class GetErrRequest {
};

client.executeAsync('geterr', args, _token.token)
.catch(() => true)
.then(() => {
.finally(() => {
if (this._done) {
return;
}
Expand Down

0 comments on commit a2eee79

Please sign in to comment.