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

This commit is contained in:
Matt Bierner 2019-02-20 16:09:25 -08:00
parent 4eb65f974d
commit a2eee79774
2 changed files with 2 additions and 7 deletions

View file

@ -1,11 +1,7 @@
{
"compilerOptions": {
"target": "es2017",
"target": "es2018",
"module": "commonjs",
"lib": [
"es6",
"es2015.promise"
],
"strict": true,
"alwaysStrict": true,
"noImplicitAny": true,

View file

@ -157,8 +157,7 @@ class GetErrRequest {
};
client.executeAsync('geterr', args, _token.token)
.catch(() => true)
.then(() => {
.finally(() => {
if (this._done) {
return;
}