mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
Merge pull request #82273 from beautytiger/goreg_fix
fix regex for go file, make it more accurate
This commit is contained in:
commit
9ac74b2a92
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user