Skip to content

Commit 24bedf6

Browse files
authored
Remove unnecessary trys in PackagePIFProjectBuilder+* (#8419)
1 parent 2dc064d commit 24bedf6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/SwiftBuildSupport/PackagePIFProjectBuilder+Modules.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ extension PackagePIFProjectBuilder {
545545
indexableFileURLs.append(SourceControlURL(fileURLWithPath: resource.path))
546546
}
547547

548-
let headerFiles = try Set(sourceModule.headerFileAbsolutePaths)
548+
let headerFiles = Set(sourceModule.headerFileAbsolutePaths)
549549

550550
// Add any additional source files emitted by custom build commands.
551551
for path in generatedSourceFiles {

Sources/SwiftBuildSupport/PackagePIFProjectBuilder+Products.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ extension PackagePIFProjectBuilder {
174174
.append(SourceControlURL(fileURLWithPath: mainModule.sourceDirAbsolutePath.appending(sourcePath)))
175175
}
176176

177-
let headerFiles = try Set(mainModule.headerFileAbsolutePaths)
177+
let headerFiles = Set(mainModule.headerFileAbsolutePaths)
178178

179179
// Add any additional source files emitted by custom build commands.
180180
for path in generatedSourceFiles {

0 commit comments

Comments
 (0)