Skip to content

Commit 87444c8

Browse files
authored
Merge pull request #18 from jakepetroules/remove-dead-code
Remove dead code causing a failure on Windows
2 parents 8bec498 + 8c8c384 commit 87444c8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Sources/Subprocess/Platforms/Subprocess+Windows.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,13 +1235,4 @@ extension UInt8 {
12351235
}
12361236
}
12371237

1238-
extension OutputProtocol {
1239-
internal func output(from data: [UInt8]) throws -> OutputType {
1240-
return try data.withUnsafeBytes {
1241-
let span = RawSpan(_unsafeBytes: $0)
1242-
return try self.output(from: span)
1243-
}
1244-
}
1245-
}
1246-
12471238
#endif // canImport(WinSDK)

0 commit comments

Comments
 (0)