Skip to content

Commit

Permalink
fix: Remove stutter from "fetching {sdk name} SDK SDK" (#391)
Browse files Browse the repository at this point in the history
Remove stutter from "fetching {sdk name} SDK SDK"
  • Loading branch information
dbolson authored Aug 14, 2024
1 parent 881fd5a commit 82bd8de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/quickstart/show_sdk_instructions.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package quickstart

import (
"fmt"
"github.com/launchdarkly/sdk-meta/api/sdkmeta"

"github.com/charmbracelet/bubbles/help"
"github.com/charmbracelet/bubbles/key"
Expand All @@ -11,6 +10,7 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/glamour"
"github.com/charmbracelet/lipgloss"
"github.com/launchdarkly/sdk-meta/api/sdkmeta"

"github.com/launchdarkly/ldcli/internal/environments"
"github.com/launchdarkly/ldcli/internal/flags"
Expand Down Expand Up @@ -156,7 +156,7 @@ func (m showSDKInstructionsModel) View() string {
}

if m.instructions == "" || m.environment == nil {
return m.spinner.View() + fmt.Sprintf(" Fetching %s SDK instructions...\n", m.displayName) + footerView(m.help.View(m.helpKeys), nil)
return m.spinner.View() + fmt.Sprintf(" Fetching %s instructions...\n", m.displayName) + footerView(m.help.View(m.helpKeys), nil)
}

m.help.ShowAll = true
Expand Down

0 comments on commit 82bd8de

Please sign in to comment.