Skip to content

Commit

Permalink
fix: PromptVersionUpdate color
Browse files Browse the repository at this point in the history
  • Loading branch information
Icaruk committed Jan 30, 2024
1 parent 4fa4380 commit a1bc3e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/updater/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TestGetVersionComponents(t *testing.T) {

for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
major, minor, patch := getVersionComponents(tc.semver)
major, minor, patch := version.GetVersionComponents(tc.semver)
if major != tc.expectedMajor || minor != tc.expectedMinor || patch != tc.expectedPatch {
t.Errorf("Expected %v.%v.%v but got %v.%v.%v for %v", tc.expectedMajor, tc.expectedMinor, tc.expectedPatch, major, minor, patch, tc.semver)
}
Expand Down
1 change: 1 addition & 0 deletions pkg/utils/cli/selectFromList.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func PromptUpdateDependency(
selectForm := huh.NewSelect[string]().
Title(
lipgloss.NewStyle().
Foreground(lipgloss.Color("7")). // white
PaddingTop(1).
Render(
fmt.Sprintf(
Expand Down

0 comments on commit a1bc3e3

Please sign in to comment.