From 925f20a13b2f5e85e2a2d0a25b90fd74a668af29 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Fri, 22 May 2026 20:42:50 -0400 Subject: [PATCH] Make Formatter Happy Signed-off-by: Will Hawkins --- Sources/Common/Error.swift | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Sources/Common/Error.swift b/Sources/Common/Error.swift index 9ed06eb..6acf427 100644 --- a/Sources/Common/Error.swift +++ b/Sources/Common/Error.swift @@ -56,11 +56,12 @@ public struct ErrorWithLocation: Errorable, Equatable, CustomStringConvertible { let prior_snipped = prior.trimmingPrefix(["\n"]) let after_snipped = after.prefix { $0 != "\n" } let include_list = fp.reversed().map { - let at = if let whence = $0.whence { - " included at position \(whence) in" - } else { - "" - } + let at = + if let whence = $0.whence { + " included at position \(whence) in" + } else { + "" + } return $0.path.string + at }.joined(separator: " ") return formatter.formatWithStyle("Error: ", Style(StyleColor.Red))