Merge pull request #7 from srgooglo/master-cf-autofix

Apply fixes from CodeFactor
This commit is contained in:
srgooglo 2020-10-07 11:18:57 +02:00 committed by GitHub
commit f5898f6f92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
})
}