Skip to content

Commit c063029

Browse files
committed
Scalafmt
1 parent e09f425 commit c063029

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

io/js/src/main/scala/fs2/io/net/AsyncSocketsProvider.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ private[net] abstract class AsyncSocketsProvider[F[_]](implicit F: Async[F]) {
125125
} <* F.delay {
126126
address match {
127127
case Left(addr) =>
128-
if (addr.host.isInstanceOf[IpAddress] && addr.host.asInstanceOf[IpAddress].isWildcard)
128+
if (
129+
addr.host.isInstanceOf[IpAddress] && addr.host.asInstanceOf[IpAddress].isWildcard
130+
)
129131
server.listen(addr.port.value, () => cb(Right(())))
130132
else
131133
server.listen(addr.port.value, addr.host.toString, () => cb(Right(())))

0 commit comments

Comments
 (0)