style: re-format with golangci-lint 2.8.0
1 file changed, 16 insertions(+), 5 deletions(-)
changed files
M internal/importer/options.go → internal/importer/options.go
@@ -105,10 +105,18 @@ case string: s := decl link, err := MakeChannelLink(i.source.Repo, s) if err != nil { - i.errs = append(i.errs, - fault.Wrap(err, fmsg.Withf("could not make a channel link for channel %s, revision %s and subpath %s", - i.source.Channel, i.source.Repo.Revision, s, - ))) + i.errs = append( + i.errs, + fault.Wrap( + err, + fmsg.Withf( + "could not make a channel link for channel %s, revision %s and subpath %s", + i.source.Channel, + i.source.Repo.Revision, + s, + ), + ), + ) continue }@@ -121,7 +129,10 @@ URL: v["url"].(string), } decls = append(decls, link) default: - i.errs = append(i.errs, fault.Newf("unexpected declaration type %s", reflect.TypeOf(decl).String())) + i.errs = append( + i.errs, + fault.Newf("unexpected declaration type %s", reflect.TypeOf(decl).String()), + ) continue }