fix regex for go file, make it more accurate

This commit is contained in:
Guangming Wang 2019-09-03 22:37:14 +08:00
parent 13696f6b42
commit 5855b175c4

View File

@ -82,7 +82,7 @@ func checkAllProviders(e2eFile string) error {
}
func processFile(e2ePath string) error {
regGoFile := regexp.MustCompile(".*.go")
regGoFile := regexp.MustCompile(".*\\.go")
files, err := ioutil.ReadDir(e2ePath)
if err != nil {