diff --git a/action.yml b/action.yml index 3b002136..03e12b87 100644 --- a/action.yml +++ b/action.yml @@ -359,7 +359,7 @@ inputs: # Display stargazers evolution over the last two weeks # It shows total stargazers along with increase rate per day - plugin_stagazers: + plugin_stargazers: description: Display stargazers evolution over the last two weeks default: no diff --git a/source/plugins/stargazers/index.mjs b/source/plugins/stargazers/index.mjs index 94a3e87d..002e2765 100644 --- a/source/plugins/stargazers/index.mjs +++ b/source/plugins/stargazers/index.mjs @@ -18,7 +18,6 @@ console.debug(`metrics/compute/${login}/plugins > stargazers > retrieving stargazers of ${repository} after ${cursor}`) const {repository:{stargazers:{edges}}} = await graphql(queries.stargazers({login, repository, after:cursor ? `after: "${cursor}"` : ""})) cursor = edges?.[edges?.length-1]?.cursor - console.log(edges) dates.push(...edges.map(({starredAt}) => new Date(starredAt))) pushed = edges.length } while ((pushed)&&(cursor))