chore: tidy and code cleanup

This commit is contained in:
David Allen 2024-12-10 18:31:03 -07:00
parent d2b6178350
commit ad45a540f0
Signed by: towk
GPG key ID: 793B2924A49B3A3F
6 changed files with 7 additions and 14 deletions

View file

@ -143,7 +143,7 @@ func LoadPlugins(dirpath string, opts ...Option) (map[string]Generator, error) {
// show the plugins found if verbose flag is set
if params.Verbose {
fmt.Printf("-- found plugin '%s'\n", gen.GetName())
log.Info().Str("plugin_name", gen.GetName()).Msg("found plugin")
}
// map each generator plugin by name for lookup