Make rxMirrored slightly more strict by escaping the dot in "min.js".

Change-Id: Ibe78f464e7e18a35247fb3a3780402906d3cc818
This commit is contained in:
Aaron Boodman 2013-12-29 10:20:02 -08:00
parent 03c10872c7
commit 479f10a7f5
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ var (
// Our temporary source tree root and build dir, i.e: buildGoPath + "src/camlistore.org"
buildSrcDir string
// files mirrored from camRoot to buildSrcDir
rxMirrored = regexp.MustCompile(`^([a-zA-Z0-9\-\_]+\.(?:go|html|min.js|js|css|png|jpg|gif|ico|gpg|json|err|camli|svg))$`)
rxMirrored = regexp.MustCompile(`^([a-zA-Z0-9\-\_]+\.(?:go|html|min\.js|js|css|png|jpg|gif|ico|gpg|json|err|camli|svg))$`)
)
func main() {