quick fix
alex wennerberg alex@alexwennerberg.com
Sun, 27 Dec 2020 19:27:49 -0800
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
gemfeed.go
→
gemfeed.go
@@ -68,7 +68,6 @@ }
line := scanner.Text() if strings.HasPrefix(line, "#") { entry.Title = strings.Trim(line, "# \t") - break } else { var title string if len(line) > 50 {@@ -78,8 +77,9 @@ title = line
} entry.Title = "[" + title + "...]" } + break } - entry.File = base + entry.File = getLocalPath(thepath) feedEntries = append(feedEntries, entry) } return nil