diff options
Diffstat (limited to 'scripts/fork_go_templates/main.go')
-rw-r--r-- | scripts/fork_go_templates/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/fork_go_templates/main.go b/scripts/fork_go_templates/main.go index 8e14813ec..5b9262c0a 100644 --- a/scripts/fork_go_templates/main.go +++ b/scripts/fork_go_templates/main.go @@ -168,6 +168,9 @@ func doWithGoFiles(dir string, return } must(filepath.Walk(filepath.Join(forkRoot, dir), func(path string, info os.FileInfo, err error) error { + if err != nil { + return err + } if info.IsDir() { return nil } |