chore(): added lint action
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"clean": "rimraf lib dist",
|
||||
"build": "tsc --project tsconfig.build.json",
|
||||
"build": "tsc --project tsconfig.build.json && npm run lint",
|
||||
"build:clean": "npm run clean && npm run build",
|
||||
"build:watch": "npm run clean && tsc --project tsconfig.build.json --watch",
|
||||
"pack": "webpack --config webpack/webpack.config.js",
|
||||
|
||||
@@ -773,12 +773,12 @@ export class WebsocketClient extends BaseWebsocketClient<
|
||||
},
|
||||
true,
|
||||
);
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
} catch (e) {
|
||||
this.logger.error('Exception trying to reject WSAPI promise', {
|
||||
wsKey,
|
||||
promiseRef,
|
||||
parsedEvent: parsed,
|
||||
error: e,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -801,12 +801,12 @@ export class WebsocketClient extends BaseWebsocketClient<
|
||||
},
|
||||
true,
|
||||
);
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
} catch (e) {
|
||||
this.logger.error('Exception trying to resolve WSAPI promise', {
|
||||
wsKey,
|
||||
promiseRef,
|
||||
parsedEvent: parsed,
|
||||
error: e,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user