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 6d72507 commit 62de5e3Copy full SHA for 62de5e3
Sources/SwiftDriver/Incremental Compilation/BuildRecordInfo.swift
@@ -157,7 +157,7 @@ struct JobResult {
157
/// Added for the sake of compatibility with the legacy driver.
158
private func preservePreviousBuildRecord(_ oldPath: AbsolutePath) {
159
let newPath = oldPath.withTilde()
160
- try! fileSystem.move(from: oldPath, to: newPath)
+ try? fileSystem.move(from: oldPath, to: newPath)
161
}
162
163
0 commit comments