diff options
| author | Paul Buetow <paul@buetow.org> | 2024-12-10 22:01:27 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-12-10 22:01:27 +0200 |
| commit | a5529938536f7a530f0c55e5a82b16a4c80af5b4 (patch) | |
| tree | 8c76b7190872174bc9dea434f8c3af758d0ffa28 /internal/config | |
| parent | c0e0e1ff4905af70a4f113eb9c2e0d94f18b2436 (diff) | |
fix
Diffstat (limited to 'internal/config')
| -rw-r--r-- | internal/config/args.go | 2 | ||||
| -rw-r--r-- | internal/config/secrets.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/config/args.go b/internal/config/args.go index 4438189..4d98118 100644 --- a/internal/config/args.go +++ b/internal/config/args.go @@ -40,7 +40,7 @@ func (a *Args) ParsePlatforms(platformStrs string) error { return err } } else { - colour.Infoln("No message length specified for", platformStr, "so assuming 500") + _, _ = colour.Infoln("No message length specified for", platformStr, "so assuming 500") a.Platforms[platformStr] = 500 } } diff --git a/internal/config/secrets.go b/internal/config/secrets.go index 338d17a..28c3515 100644 --- a/internal/config/secrets.go +++ b/internal/config/secrets.go @@ -43,7 +43,7 @@ func NewSecrets(configPath string) (Secrets, error) { } func (s Secrets) WriteToDisk(configPath string) error { - colour.Infoln("Writing", configPath) + _, _ = colour.Infoln("Writing", configPath) bytes, err := json.MarshalIndent(s, "", " ") if err != nil { |
