File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Sources/SwiftDriver/Incremental Compilation Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -166,10 +166,7 @@ extension BuildRecord {
166166 func encode( ) throws -> String {
167167 let pathsAndInfos = try inputInfos. map {
168168 input, inputInfo -> ( String , InputInfo ) in
169- guard let path = input. absolutePath else {
170- throw Errors . notAbsolutePath ( input)
171- }
172- return ( path. pathString, inputInfo)
169+ return ( input. name, inputInfo)
173170 }
174171 let inputInfosNode = Yams . Node (
175172 pathsAndInfos
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ extension InputInfo.Status {
6565 }
6666
6767 /// Construct a status to write at the end of the compilation.
68- /// The status will be read for the nextr driver invocaiton and will control the scheduling of that job.
68+ /// The status will be read for the next driver invocation and will control the scheduling of that job.
6969 /// `upToDate` means only that the file was up to date when the build record was written.
7070 init ( wasSkipped: Bool ? , jobResult: ProcessResult ? ) {
7171 if let exitStatus = jobResult? . exitStatus,
You can’t perform that action at this time.
0 commit comments