diff options
| -rwxr-xr-x | check-ci.sh | 6 | ||||
| -rw-r--r-- | internal/client/ui/core/usersettings/usersettings.go | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/check-ci.sh b/check-ci.sh index 41d3616..2baee8a 100755 --- a/check-ci.sh +++ b/check-ci.sh @@ -1,6 +1,12 @@ #!/usr/bin/env bash +set -e + +trap 'echo "❌ Check failed"; exit 1' ERR + test -z "$(go fmt ./...)" staticcheck ./... go test --cover ./... gosec ./... + +echo "✅ All checks passed" diff --git a/internal/client/ui/core/usersettings/usersettings.go b/internal/client/ui/core/usersettings/usersettings.go index 9afafe3..1a8dfa3 100644 --- a/internal/client/ui/core/usersettings/usersettings.go +++ b/internal/client/ui/core/usersettings/usersettings.go @@ -158,12 +158,6 @@ func (m Model) View() string { Width(m.nameWidth). Render(legalNote) - // content := flex.NewVertical( - // name, description, private, - // configFile, analyticsOptOut, legalNote, - // update, - // ).WithGap(1).View() - content := flex.NewVertical( legalNote, analyticsOptOut, configFile, name, description, private, update, |
