Skip to content

Commit ffca182

Browse files
authored
Fix settings errors in dump dependencies (#876)
Errors encountered during settings construction should be exposed via the JSON output.
1 parent b8afea7 commit ffca182

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/SWBBuildService/BuildDependencyInfo.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,10 @@ extension BuildDependencyInfo {
381381
}
382382
let inputs = InputCollector()
383383

384+
for error in settings.errors {
385+
await inputs.addError(error)
386+
}
387+
384388
// Collect inputs for targets which create a binary.
385389
if targetCreatesBinary(configuredTarget), let standardTarget = configuredTarget.target as? SWBCore.StandardTarget {
386390
let buildFilesContext = BuildDependencyInfoBuildFileFilteringContext(scope: settings.globalScope)

0 commit comments

Comments
 (0)