Satisfy the now-effective lll limit and the modernize linter

This commit is contained in:
2026-10-31 13:22:44 -07:00
parent 897dc9aced
commit e1b385f847
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -42,8 +42,8 @@ func (a *app) loadConfig(cmd *cobra.Command, _ []string) error {
err := config.ReadInConfig()
var notFound viper.ConfigFileNotFoundError
if errors.As(err, &notFound) {
_, isNotFound := errors.AsType[viper.ConfigFileNotFoundError](err)
if isNotFound {
a.config = config
return nil