From a3c10165fa75644f1e5b2a5da483df3057dcb6ea Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Fri, 23 Aug 2024 18:05:19 -0700 Subject: [PATCH] Add missing return value. --- Modules/Parser/Sources/Parser/Utilities/String+Parser.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Parser/Sources/Parser/Utilities/String+Parser.swift b/Modules/Parser/Sources/Parser/Utilities/String+Parser.swift index 9ed9c0b51..61555a365 100644 --- a/Modules/Parser/Sources/Parser/Utilities/String+Parser.swift +++ b/Modules/Parser/Sources/Parser/Utilities/String+Parser.swift @@ -14,7 +14,7 @@ extension String { return self.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty ? nil : self } - static func isEmptyOrNil(_ s: String?) { + static func isEmptyOrNil(_ s: String?) -> Bool { if let s { return s.isEmpty }