1
Fork 0
This commit is contained in:
Alex Yatskov 2024-04-07 13:56:38 -07:00
parent 90326ba081
commit 818855e875
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@ func (*fileImporter) Name() string {
func (self *fileImporter) Initialize(context *Context) error {
return filepath.Walk(self.sourceDir, func(path string, info os.FileInfo, err error) error {
if err != nil {
return err
}
if info.IsDir() {
return nil
}