File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Sources/SwiftDriver/IncrementalCompilation Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -674,8 +674,8 @@ extension ModuleDependencyGraph {
674
674
try fileSystem. writeFileContents ( path,
675
675
bytes: data,
676
676
atomically: true )
677
- } catch let e {
678
- info. diagnosticEngine. emit ( . error_could_not_write_dep_graph ( to: path, error: e ) )
677
+ } catch {
678
+ info. diagnosticEngine. emit ( . warning_could_not_write_dep_graph ( to: path, error: error ) )
679
679
}
680
680
}
681
681
@@ -1035,11 +1035,11 @@ fileprivate extension DependencyKey.Designator {
1035
1035
}
1036
1036
1037
1037
extension Diagnostic . Message {
1038
- fileprivate static func error_could_not_write_dep_graph (
1038
+ fileprivate static func warning_could_not_write_dep_graph (
1039
1039
to path: VirtualPath ,
1040
- error: Swift . Error
1040
+ error: Error
1041
1041
) -> Diagnostic . Message {
1042
- . error ( " could not write driver dependency graph to \( path) . Returned error was: \( error) " )
1042
+ . warning ( " could not write driver dependency graph to \( path) , Returned error was: \( error. localizedDescription ) " )
1043
1043
}
1044
1044
}
1045
1045
You can’t perform that action at this time.
0 commit comments