mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Changes to Default Performer Images (for Accessibility) (#1489)
* Changes to support custom URL paths * Refactor image resolver code * Initialise box files at startup * Update packr Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
4
vendor/github.com/gobuffalo/packd/skip_walker.go
generated
vendored
4
vendor/github.com/gobuffalo/packd/skip_walker.go
generated
vendored
@@ -3,8 +3,6 @@ package packd
|
||||
import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
var CommonSkipPrefixes = []string{".", "_", "node_modules", "vendor"}
|
||||
@@ -19,7 +17,7 @@ func SkipWalker(walker Walker, skipPrefixes []string, wf WalkFunc) error {
|
||||
return walker.Walk(func(path string, file File) error {
|
||||
fi, err := file.FileInfo()
|
||||
if err != nil {
|
||||
return errors.WithStack(err)
|
||||
return err
|
||||
}
|
||||
|
||||
path = strings.Replace(path, "\\", "/", -1)
|
||||
|
||||
Reference in New Issue
Block a user