Skip to content

Commit

Permalink
Bullet Format File Error Message (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
LePips authored Dec 12, 2024
1 parent 3f83ef7 commit a5052b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/PluginsShared/PluginError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ enum PluginError: Swift.Error, CustomStringConvertible, LocalizedError {
let targetNames = targetNames.joined(separator: ", ", lastSeparator: " and ")
return "Found no targets with names \(targetNames)."
case .fileErrors(let fileErrors):
return "Issues with required files: \(fileErrors.map(\.description).joined(separator: ", and"))."
return "Issues with required files:\n\(fileErrors.map { "- " + $0.description }.joined(separator: "\n"))."
}
}

Expand Down

0 comments on commit a5052b9

Please sign in to comment.