Skip to content

Commit 5db2567

Browse files
committed
changed update from updated_at to pushed_at
1 parent 2552633 commit 5db2567

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ const reduceRepos = (repos) => {
7676
(acc, cur) => {
7777
const {
7878
name,
79-
description: desc,
8079
topics,
81-
stargazers_count: stars,
8280
language,
83-
updated_at: update,
81+
description: desc,
82+
stargazers_count: stars,
83+
pushed_at: update,
8484
} = cur;
8585

8686
const topic = topics.find((x) => targetTopics.includes(x));
@@ -120,8 +120,8 @@ const generateChanges = (outcome) =>
120120
(acc, cur) => {
121121
acc.push(...["", `### ${cur.toUpperCase()}`, ""]);
122122

123-
acc.push("| Name | Description | Stargazers | Language | Update |");
124-
acc.push("| ----- | ----------- | ---------- | -------- | ------ |");
123+
acc.push("| Name | Description | Stars | Language | Update |");
124+
acc.push("| ----- | ----------- | ----- | -------- | ------ |");
125125

126126
outcome[cur].forEach(({ name, desc, stars, language, update }) => {
127127
const link = `[${name}](https://github.com/${owner}/${name})`;

0 commit comments

Comments
 (0)