From f07a10ad8411480dd003ff5a4c85e4e7c7c6e8cc Mon Sep 17 00:00:00 2001 From: Sladan Nimcevic Date: Tue, 28 Jan 2025 13:03:13 +0100 Subject: [PATCH] Fixed covered values --- Projects/hCore/Sources/Perils.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/hCore/Sources/Perils.swift b/Projects/hCore/Sources/Perils.swift index 71d8d84f33..cb356e4898 100644 --- a/Projects/hCore/Sources/Perils.swift +++ b/Projects/hCore/Sources/Perils.swift @@ -30,7 +30,7 @@ public struct Perils: Codable, Equatable, Hashable, Sendable { id = fragment.title title = fragment.title description = fragment.description ?? "" - covered = [fragment.coverageText ?? ""] + covered = [fragment.coverageText].compactMap({ $0 }) color = nil isDisabled = false }