6 files changed,
11 insertions(+),
6 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2026-06-10 11:31:03 +0300
Authored at:
2026-06-08 13:47:50 +0300
Change ID:
pznpqnupplstolrpqxlryzswysztnpwz
Parent:
4af560c
M
internal/cli/cli.go
路路路 40 40 }, 41 41 Before: func(ctx context.Context, cmd *cli.Command) (context.Context, error) { 42 42 loadedCfg, err := config.Load( 43 - config.PathOrDefault(cmd.String("config"))) 43 + config.PathOrDefault(cmd.String("config")), 44 + ) 44 45 if err != nil { 45 46 return ctx, err 46 47 }
M
internal/git/diff.go
路路路 159 159 160 160 diff, err := parseNiceDiff(patch.String()) 161 161 if err != nil { 162 - return nil, fmt.Errorf("parse tree diff %s..%s: %w", base, head, err) 162 + return nil, fmt.Errorf("parse tree diff %s..%s: %w", base, head, err) 163 163 } 164 164 return diff, nil 165 165 }
M
internal/markdown/relink.go
路路路 78 78 79 79 func (m *relLinkTransformer) imageFromRepoTransformer(img *ast.Image) { 80 80 img.Destination = []byte(m.imageFromRepo( 81 - string(img.Destination))) 81 + string(img.Destination), 82 + )) 82 83 } 83 84 84 85 func (m *relLinkTransformer) imageFromRepo(dst string) string {