Skip to content

Commit a2eee79

Browse files
committed
Use 2018 as target for extensions since we are now running on node 10
1 parent 4eb65f9 commit a2eee79

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

extensions/shared.tsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"compilerOptions": {
3-
"target": "es2017",
3+
"target": "es2018",
44
"module": "commonjs",
5-
"lib": [
6-
"es6",
7-
"es2015.promise"
8-
],
95
"strict": true,
106
"alwaysStrict": true,
117
"noImplicitAny": true,

extensions/typescript-language-features/src/features/bufferSyncSupport.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ class GetErrRequest {
157157
};
158158

159159
client.executeAsync('geterr', args, _token.token)
160-
.catch(() => true)
161-
.then(() => {
160+
.finally(() => {
162161
if (this._done) {
163162
return;
164163
}

0 commit comments

Comments
 (0)