Fix linting errors

This commit is contained in:
Dan Sosedoff
2022-11-14 16:10:50 -06:00
parent 580c1093d1
commit 9bfec11b48
7 changed files with 32 additions and 15 deletions

View File

@@ -533,7 +533,7 @@ func DataExport(c *gin.Context) {
if dump.Table != "" {
filename = filename + "_" + dump.Table
}
reg := regexp.MustCompile("[^._\\w]+")
reg := regexp.MustCompile(`[^._\\w]+`)
cleanFilename := reg.ReplaceAllString(filename, "")
c.Header(