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