We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b638e41 commit 9c48bc5Copy full SHA for 9c48bc5
Sources/SwiftDriver/Driver/Driver.swift
@@ -1114,7 +1114,8 @@ extension Driver {
1114
#warning("Response file tokenization unimplemented for platform; behavior may be incorrect")
1115
#endif
1116
#if os(Windows)
1117
- return tokenizeWindowsResponseFile(content)
+ return content.split { $0 == "\n" || $0 == "\r\n" }
1118
+ .flatMap { tokenizeWindowsResponseFile(String($0)) }
1119
#else
1120
return content.split { $0 == "\n" || $0 == "\r\n" }
1121
.flatMap { tokenizeResponseFileLine($0) }
0 commit comments