fix tab issue

This commit is contained in:
Erik Little 2018-07-21 10:39:27 -04:00
parent 451f4c1b69
commit 9bf073156f
No known key found for this signature in database
GPG Key ID: B8E1F067FE8DCAAF

View File

@ -77,7 +77,7 @@ public extension SocketParsable where Self: SocketManagerSpec & SocketDataBuffer
internal func parseString(_ message: String) throws -> SocketPacket { internal func parseString(_ message: String) throws -> SocketPacket {
var reader = SocketStringReader(message: message) var reader = SocketStringReader(message: message)
guard let type = Int(reader.read(count: 1)).flatMap({ SocketPacket.PacketType(rawValue: $0) }) else { guard let type = Int(reader.read(count: 1)).flatMap({ SocketPacket.PacketType(rawValue: $0) }) else {
throw SocketParsableError.invalidPacketType throw SocketParsableError.invalidPacketType
} }