1 files changed,
2 insertions(+),
2 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2026-01-30 20:54:12 +0200
Authored at:
2026-01-30 20:32:04 +0200
Change ID:
uzyxkttppnwkkpnwlyuztzpxzntoowyx
Parent:
18538b5
M
internal/git/repo.go
ยทยทยท 180 180 // TODO: ??? Support both mugit.description and /description file 181 181 path := filepath.Join(g.path, "description") 182 182 if _, err := os.Stat(path); err != nil { 183 - return "", fmt.Errorf("no description file found") 183 + return "", nil 184 184 } 185 185 186 186 d, err := os.ReadFile(path) 187 187 if err != nil { 188 - return "", fmt.Errorf("failed to read description: %w", err) 188 + return "", fmt.Errorf("failed to read description file: %w", err) 189 189 } 190 190 191 191 desc := string(d)