Skip to content

Commit de61d74

Browse files
committed
refactor: update existing configuration message and remove reconfiguration prompt
1 parent 5379bad commit de61d74

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pkg/interactive/interactive.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,10 @@ func SetupPackageConfig(cfg *config.Config, pkg discovery.Package) (*config.Pack
2222

2323
// Check if package already has configuration
2424
if existingConfig, exists := cfg.Packages[pkg.ModulePath]; exists {
25-
color.Green("Package already configured:")
25+
color.Green("Using existing configuration:")
2626
color.White(" Tag Format: %s", existingConfig.TagFormat)
2727
color.White(" Use Default: %t", existingConfig.UseDefault)
28-
29-
if AskForConfirmation("Do you want to reconfigure this package?") {
30-
return configurePackage(cfg, pkg)
31-
}
28+
color.White("")
3229
return &existingConfig, nil
3330
}
3431

0 commit comments

Comments
 (0)