Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions commands/animate-repos/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (c *CmdAnimateRepos) Run(
DependencyGraphManifests struct {
Nodes []struct {
Filename string
Depenencies struct {
Dependencies struct {
Nodes []struct {
Repository struct {
Owner struct {
Expand Down Expand Up @@ -119,8 +119,8 @@ func (c *CmdAnimateRepos) Run(

var manifetsCursor, depCursor *string
for _, m := range q.Repository.DependencyGraphManifests.Nodes {
log.FromContext(ctx).Debugf("processing manifest %s(%d)", m.Filename, len(m.Depenencies.Nodes))
for _, d := range m.Depenencies.Nodes {
log.FromContext(ctx).Debugf("processing manifest %s(%d)", m.Filename, len(m.Dependencies.Nodes))
for _, d := range m.Dependencies.Nodes {
o := d.Repository.Owner
if o.Sponsorable.HasSponsorsListing {
_ = db.InsertDonation(ctx, database.InsertDonationParams{
Expand All @@ -131,8 +131,8 @@ func (c *CmdAnimateRepos) Run(
log.FromContext(ctx).Debugf("fundable %s", o.RepositoryOwner.Login)
}
}
if m.Depenencies.PageInfo.HasNextPage {
depCursor = &m.Depenencies.PageInfo.EndCursor
if m.Dependencies.PageInfo.HasNextPage {
depCursor = &m.Dependencies.PageInfo.EndCursor
}
}

Expand Down