Skip to content

Commit

Permalink
fix: add @unknown default to URLSessionTask.State ext switch (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia authored Oct 8, 2023
1 parent 09d0dc6 commit f20d0ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/SwiftCentrifuge/WebSocket/NativeWebSocket.swift
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ private extension URLSessionTask.State {
return "cancelling"
case .completed:
return "completed"
@unknown default:
return "unknown"
}
}
}

0 comments on commit f20d0ca

Please sign in to comment.