Skip to content

Commit 22b9325

Browse files
thomhurstclaude
andauthored
refactor: Convert CodeCovSettings from class to record (#1719)
Convert CodeCovSettings to a record for consistency with other settings classes (CodacySettings, GitHubSettings, NuGetSettings, PublishSettings). Also adds [SecretValue] attribute to Token property to match the pattern used by other settings that contain sensitive values. Fixes #1546 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent dcf9646 commit 22b9325

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
using ModularPipelines.Attributes;
2+
13
namespace ModularPipelines.Build.Settings;
24

3-
public class CodeCovSettings
5+
public record CodeCovSettings
46
{
7+
[SecretValue]
58
public string? Token { get; init; }
6-
}
9+
}

0 commit comments

Comments
 (0)