File tree 1 file changed +3
-3
lines changed
Sources/swift-build-sdk-interfaces
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 82
82
// append the SDK version number so all modules will built into
83
83
// the SDK-versioned sub-directory.
84
84
if outputDir. basename == " prebuilt-modules " {
85
- outputDir = AbsolutePath ( collector. versionString, relativeTo: outputDir)
85
+ outputDir = try AbsolutePath ( validating : collector. versionString, relativeTo: outputDir)
86
86
}
87
87
if !localFileSystem. exists ( outputDir) {
88
88
try localFileSystem. createDirectory ( outputDir, recursive: true )
97
97
}
98
98
swiftcPath = absolutePath
99
99
} else {
100
- swiftcPath = AbsolutePath ( " Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc " ,
101
- relativeTo: sdkPath. parentDirectory
100
+ swiftcPath = try AbsolutePath ( validating : " Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc " ,
101
+ relativeTo: sdkPath. parentDirectory
102
102
. parentDirectory
103
103
. parentDirectory
104
104
. parentDirectory
You can’t perform that action at this time.
0 commit comments