File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ package struct GDBHostCommandDecoder: ByteToMessageDecoder {
3636 // Command start delimiters.
3737 let firstStartDelimiter = buffer. readInteger ( as: UInt8 . self)
3838 let secondStartDelimiter = buffer. readInteger ( as: UInt8 . self)
39- guard firstStartDelimiter == UInt8 ( ascii: " + " )
39+ guard
40+ firstStartDelimiter == UInt8 ( ascii: " + " )
4041 && secondStartDelimiter == UInt8 ( ascii: " $ " )
4142 else {
4243 if let firstStartDelimiter, let secondStartDelimiter {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ package struct GDBTargetResponseEncoder: MessageToByteEncoder {
2020 out. writeBytes ( " ok#da " . utf8)
2121
2222 case . hostInfo( let info) :
23- out. writeBytes ( info. map { ( key, value) in " \( key) : \( value) ; " } . joined ( ) . appendedChecksum)
23+ out. writeBytes ( info. map { ( key, value) in " \( key) : \( value) ; " } . joined ( ) . appendedChecksum)
2424
2525 case . vContSupportedActions( let actions) :
2626 out. writeBytes ( " vCont; \( actions. map ( \. rawValue) . joined ( ) ) " . appendedChecksum)
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ package final class WasmKitHandler: ChannelInboundHandler {
3131 " ptrsize " : " 4 " ,
3232 " endian " : " little " ,
3333 " ostype " : " wasip1 " ,
34- " vendor " : " WasmKit "
34+ " vendor " : " WasmKit " ,
3535 ] )
3636
3737 case . supportedFeatures:
You can’t perform that action at this time.
0 commit comments