mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 21:51:13 +00:00
parent
adee04f4b4
commit
34a216fe67
2 changed files with 2 additions and 4 deletions
2
Gopkg.lock
generated
2
Gopkg.lock
generated
|
@ -381,6 +381,6 @@
|
|||
[solve-meta]
|
||||
analyzer-name = "dep"
|
||||
analyzer-version = 1
|
||||
inputs-digest = "3bd32a09fb219b2cddf0e5a91110430a05bfd2d3a28215c69b8013ff2b6b89dc"
|
||||
inputs-digest = "c80ffe69d34005d8d72a87cc491ce1d9c91272e4b7f8fbd22d4fda8973fa8556"
|
||||
solver-name = "gps-cdcl"
|
||||
solver-version = 1
|
||||
|
|
|
@ -191,8 +191,6 @@ var (
|
|||
)
|
||||
|
||||
func getGlob(pattern string) (glob.Glob, error) {
|
||||
pattern = strings.ToLower(pattern)
|
||||
|
||||
var g glob.Glob
|
||||
|
||||
globMu.RLock()
|
||||
|
@ -200,7 +198,7 @@ func getGlob(pattern string) (glob.Glob, error) {
|
|||
globMu.RUnlock()
|
||||
if !found {
|
||||
var err error
|
||||
g, err = glob.Compile(pattern, '/')
|
||||
g, err = glob.Compile(strings.ToLower(pattern), '/')
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue