From 9b066ad9ee988a5e7dc576d452d908a63ee12e4c Mon Sep 17 00:00:00 2001 From: codefactor-io Date: Tue, 6 Oct 2020 18:07:10 +0000 Subject: [PATCH] [CodeFactor] Apply fixes to commit 9433138 --- src/core/libs/socket/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/libs/socket/index.ts b/src/core/libs/socket/index.ts index e7cbbe77..ee2b79bf 100644 --- a/src/core/libs/socket/index.ts +++ b/src/core/libs/socket/index.ts @@ -12,7 +12,7 @@ export class SocketConnection{ constructor(props:any){ if (!props) { - throw new Error("Mmm some props are not defined") + throw new Error("Mmm some props are not defined") } this.state = { address: props.address, @@ -68,7 +68,7 @@ export class SocketConnection{ return false } verbosityConsole(`Strike [${this.state.connAttemps + 1}] / ${maxDeep_Attemp + 1} !`) - this.state.connAttemps = this.state.connAttemps + 1 + this.state.connAttemps = this.state.connAttemps + 1 }) }