Lint nginx code

This commit is contained in:
Manuel de Brito Fontes 2017-06-14 23:05:04 -04:00
parent e9871ffaad
commit 92e3b5ba78
4 changed files with 3 additions and 8 deletions

View file

@ -24,7 +24,6 @@ import (
"net"
"os"
"os/exec"
"regexp"
"strings"
text_template "text/template"
@ -392,7 +391,6 @@ func isLocationAllowed(input interface{}) bool {
}
var (
nonAlpha = regexp.MustCompile("[^a-zA-Z0-9]+")
denyPathSlugMap = map[string]string{}
)