Skip to content

Commit

Permalink
📝 Change update_at for pushed_at
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashu11-A authored Apr 11, 2024
1 parent 26c2e1c commit 50ef66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function start() {

const repoData = (await axios.get(`https://api.github.com/repos/${repository}`)).data

if (repoData.updated_at === linkData.find((element) => element.author === array[0])?.updated_at) {
if (repoData.pushed_at === linkData.find((element) => element.author === array[0])?.pushed_at) {
console.log('Repositorio sem alterações');
continue
}
Expand Down

0 comments on commit 50ef66e

Please sign in to comment.