Skip to content

Commit

Permalink
Address deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Jul 1, 2022
1 parent ac9dc7c commit 7772a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/js/src/main/scala/fs2/io/net/NetException.scala
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private class JavaScriptUnknownHostException(host: String, cause: js.JavaScriptE
extends UnknownHostException(s"$host: ${UnknownHostException.message}", cause)
with NoStackTrace
object UnknownHostException {
private[io] def unapply(cause: js.JavaScriptException): Option[UnknownHostException] =
private[io] def unapply(cause: js.JavaScriptException): Option[ip4s.UnknownHostException] =
cause.exception match {
case error: js.Error =>
pattern.findFirstMatchIn(error.message).collect { case Regex.Groups(addr) =>
Expand Down

0 comments on commit 7772a0d

Please sign in to comment.