We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b13fb5 commit 144723fCopy full SHA for 144723f
build.go
@@ -21,7 +21,7 @@ func (self *Visitor) visit(path string, f os.FileInfo, err error) error {
21
} else if (f.Mode() & os.ModeSymlink) > 0 {
22
return nil
23
} else {
24
- if strings.Contains(f.Name(), ".md") {
+ if strings.HasSuffix(f.Name(), ".md") {
25
fmt.Println(f)
26
file, err := os.Open(f.Name())
27
if err != nil {
0 commit comments