File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -102,16 +102,18 @@ package class SwiftPMTestProject: MultiFileTestProject {
102
102
throw LinkFileListNotFoundError ( url: linkFileListURL)
103
103
}
104
104
let linkFileList =
105
- linkFileListContents
106
- . split ( separator: " \n " )
107
- . map {
108
- // Files are wrapped in single quotes if the path contains spaces. Drop the quotes.
109
- if $0. hasPrefix ( " ' " ) && $0. hasSuffix ( " ' " ) {
110
- return String ( $0. dropFirst ( ) . dropLast ( ) )
111
- } else {
112
- return String ( $0)
113
- }
114
- }
105
+ Set (
106
+ linkFileListContents
107
+ . split ( separator: " \n " )
108
+ . map {
109
+ // Files are wrapped in single quotes if the path contains spaces. Drop the quotes.
110
+ if $0. hasPrefix ( " ' " ) && $0. hasSuffix ( " ' " ) {
111
+ return String ( $0. dropFirst ( ) . dropLast ( ) )
112
+ } else {
113
+ return String ( $0)
114
+ }
115
+ }
116
+ )
115
117
116
118
let swiftSyntaxModulesToLink = [
117
119
" SwiftBasicFormat " ,
You can’t perform that action at this time.
0 commit comments