Skip to content

Commit 47bced4

Browse files
committed
Use Either.unit
1 parent 69f26b1 commit 47bced4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io/js/src/main/scala/fs2/io/net/tls/TLSContextPlatform.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private[tls] trait TLSContextCompanionPlatform { self: TLSContext.type =>
9191
Option(tlsSock.ssl.verifyError())
9292
.map(e => new JavaScriptSSLException(js.JavaScriptException(e)))
9393
.toLeft(())
94-
else Right(())
94+
else Either.unit
9595
dispatcher.unsafeRunAndForget(verifyError.complete(result))
9696
}
9797
)

0 commit comments

Comments
 (0)