Skip to content

Commit 099cb5f

Browse files
committed
Fix typo
1 parent 0c35c1f commit 099cb5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/pkg/config/profiles.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func GetProfileFromEnv() (string, bool) {
8080
// If emptyProfile is true, it creates an empty profile. Otherwise, copies the config from the current profile to the new profile.
8181
// If setProfile is true, it sets the new profile as the active profile.
8282
// If the profile already exists and ignoreExisting is false, it returns an error.
83-
func CreateProfile(p *print.Printer, profile string, setProfile, ignoreExising, emptyProfile bool) error {
83+
func CreateProfile(p *print.Printer, profile string, setProfile, ignoreExisting, emptyProfile bool) error {
8484
err := ValidateProfile(profile)
8585
if err != nil {
8686
return fmt.Errorf("validate profile: %w", err)
@@ -98,7 +98,7 @@ func CreateProfile(p *print.Printer, profile string, setProfile, ignoreExising,
9898
// Error if the profile already exists
9999
_, err = os.Stat(configFolderPath)
100100
if err == nil {
101-
if ignoreExising {
101+
if ignoreExisting {
102102
if setProfile {
103103
err = SetProfile(p, profile)
104104
if err != nil {

0 commit comments

Comments
 (0)