We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Either.unit
1 parent 69f26b1 commit 47bced4Copy full SHA for 47bced4
io/js/src/main/scala/fs2/io/net/tls/TLSContextPlatform.scala
@@ -91,7 +91,7 @@ private[tls] trait TLSContextCompanionPlatform { self: TLSContext.type =>
91
Option(tlsSock.ssl.verifyError())
92
.map(e => new JavaScriptSSLException(js.JavaScriptException(e)))
93
.toLeft(())
94
- else Right(())
+ else Either.unit
95
dispatcher.unsafeRunAndForget(verifyError.complete(result))
96
}
97
)
0 commit comments