File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public struct NoInput: InputProtocol {
65
65
/// Asynchronously write the input to the subprocess that uses the
66
66
/// write file descriptor.
67
67
public func write( with writer: StandardInputWriter ) async throws {
68
- // noop
68
+ fatalError ( " Unexpected call to \( #function ) " )
69
69
}
70
70
71
71
internal init ( ) { }
@@ -97,7 +97,7 @@ public struct FileDescriptorInput: InputProtocol {
97
97
/// Asynchronously write the input to the subprocess that use the
98
98
/// write file descriptor.
99
99
public func write( with writer: StandardInputWriter ) async throws {
100
- // noop
100
+ fatalError ( " Unexpected call to \( #function ) " )
101
101
}
102
102
103
103
internal init (
@@ -155,7 +155,7 @@ internal struct CustomWriteInput: InputProtocol {
155
155
/// Asynchronously write the input to the subprocess using the
156
156
/// write file descriptor.
157
157
public func write( with writer: StandardInputWriter ) async throws {
158
- // noop
158
+ fatalError ( " Unexpected call to \( #function ) " )
159
159
}
160
160
161
161
internal init ( ) { }
Original file line number Diff line number Diff line change @@ -354,12 +354,12 @@ extension OutputProtocol where OutputType == Void {
354
354
#if SubprocessSpan
355
355
/// Convert the output from raw span to expected output type
356
356
public func output( from span: RawSpan ) throws {
357
- // noop
357
+ fatalError ( " Unexpected call to \( #function ) " )
358
358
}
359
359
#endif
360
360
/// Convert the output from a sequence of 8-bit unsigned integers to expected output type.
361
361
public func output( from buffer: some Sequence < UInt8 > ) throws {
362
- // noop
362
+ fatalError ( " Unexpected call to \( #function ) " )
363
363
}
364
364
}
365
365
You can’t perform that action at this time.
0 commit comments