Skip to content

Commit 83d72e6

Browse files
author
Rıza Sabuncu
committed
fix: tolower extensions
1 parent 5619b66 commit 83d72e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const (
2525
/_/_/ /_/\__,_/\___/_/|_|\__/_/ \___/\___/ %s
2626
2727
`
28-
version = `v1.0.3`
28+
version = `v1.0.4`
2929

3030
treeBranch = `├── `
3131
treeEnd = `└── `
@@ -181,7 +181,7 @@ func crawl(line chan string, wg *sync.WaitGroup, url string, extensions, matcher
181181
if len(ext) > 0 {
182182
ext = ext[1:]
183183
for _, e := range extensions {
184-
if e == ext {
184+
if strings.ToLower(e) == strings.ToLower(ext) {
185185
line <- prefix + treeEnd + u
186186
continue
187187
}

0 commit comments

Comments
 (0)