Skip to content

Commit

Permalink
Fix shadowed vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Ludwig authored and malud committed Apr 6, 2021
1 parent 155c352 commit b0c54e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (f *File) HasResponse(req *http.Request) bool {
if info.IsDir() {
reqPath = path.Join(reqPath, "/", dirIndexFile)

file, info, err := f.openDocRootFile(reqPath)
file, info, err = f.openDocRootFile(reqPath)
if err != nil {
return false
}
Expand Down

0 comments on commit b0c54e2

Please sign in to comment.