mirror of https://github.com/perkeep/perkeep.git
Make rxMirrored slightly more strict by escaping the dot in "min.js".
Change-Id: Ibe78f464e7e18a35247fb3a3780402906d3cc818
This commit is contained in:
parent
03c10872c7
commit
479f10a7f5
2
make.go
2
make.go
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue