Skip to content

Commit

Permalink
fix a typo (#1796)
Browse files Browse the repository at this point in the history
  • Loading branch information
danpilch authored Sep 8, 2021
1 parent 63f252a commit 4aa4921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ func (s *Server) Index(w http.ResponseWriter, _ *http.Request) {
func mkSubDir(parentDir string, subDir string) (string, error) {
fullDir := filepath.Join(parentDir, subDir)
if err := os.MkdirAll(fullDir, 0700); err != nil {
return "", errors.Wrapf(err, "unable to creare dir %q", fullDir)
return "", errors.Wrapf(err, "unable to create dir %q", fullDir)
}

return fullDir, nil
Expand Down

0 comments on commit 4aa4921

Please sign in to comment.