mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-01-23 02:35:10 +00:00
build: use make for building the project (#1304)
This commit is contained in:
parent
2d2c598fa6
commit
23f84642e6
23 changed files with 218 additions and 194 deletions
|
|
@ -79,7 +79,7 @@ func NewFileInfo(opts FileOptions) (*FileInfo, error) {
|
|||
|
||||
if opts.Expand {
|
||||
if file.IsDir {
|
||||
if err := file.readListing(opts.Checker, opts.ReadHeader); err != nil { //nolint:shadow
|
||||
if err := file.readListing(opts.Checker, opts.ReadHeader); err != nil { //nolint:govet
|
||||
return nil, err
|
||||
}
|
||||
return file, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue