mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +03:00
Bump viper version, fix nobrowser (#1991)
This commit is contained in:
committed by
GitHub
parent
808202ba8a
commit
a7ed0a7004
2
vendor/github.com/spf13/afero/match.go
generated
vendored
2
vendor/github.com/spf13/afero/match.go
generated
vendored
@@ -106,5 +106,5 @@ func glob(fs Fs, dir, pattern string, matches []string) (m []string, e error) {
|
||||
// recognized by Match.
|
||||
func hasMeta(path string) bool {
|
||||
// TODO(niemeyer): Should other magic characters be added here?
|
||||
return strings.IndexAny(path, "*?[") >= 0
|
||||
return strings.ContainsAny(path, "*?[")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user