Skip to content

Commit

Permalink
fix: don't return Earthfile in scan paths
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman committed Aug 31, 2024
1 parent 87fef85 commit e13af54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forge/cli/pkg/earthfile/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func ScanEarthfiles(rootPath string, walker w.Walker, logger *slog.Logger) (map[
return fmt.Errorf("error parsing %s: %w", path, err)
}

earthfiles[path] = earthfile
earthfiles[filepath.Dir(path)] = earthfile

return nil
})
Expand Down

0 comments on commit e13af54

Please sign in to comment.