Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.
Prev Previous commit
Next Next commit
Fix lint
  • Loading branch information
amaury1093 committed Nov 22, 2018
commit ebe4033ed561128cb71e87fa79d91bc59ec9fd0d
4 changes: 2 additions & 2 deletions packages/api/src/transport/TransportError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class TransportError extends Error {
*/
public type: string;

constructor(method: string, code: number, message: string) {
constructor (method: string, code: number, message: string) {
const m = `${method}: ${code}: ${message}`;

super(m);
Expand All @@ -73,7 +73,7 @@ class TransportError extends Error {
*
* @param method - The method for which we create a `REQUEST_REJECTED` error.
*/
static requestRejected(method: string = null) {
static requestRejected (method: string = null) {
return new TransportError(
method,
ERROR_CODES.REQUEST_REJECTED,
Expand Down