From 478d6f99c6461abf7f8655b45733fc3946f5b8f2 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 9 Feb 2025 23:49:53 +0100 Subject: [PATCH] Fix typo discovered by codespell https://github.com/codespell-project/codespell --- commands/animate-repos/cmd.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/commands/animate-repos/cmd.go b/commands/animate-repos/cmd.go index cde2f49..07728a4 100644 --- a/commands/animate-repos/cmd.go +++ b/commands/animate-repos/cmd.go @@ -63,7 +63,7 @@ func (c *CmdAnimateRepos) Run( DependencyGraphManifests struct { Nodes []struct { Filename string - Depenencies struct { + Dependencies struct { Nodes []struct { Repository struct { Owner struct { @@ -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{ @@ -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 } }