Skip to content

Commit

Permalink
chore: 🤖 use latest repoURL
Browse files Browse the repository at this point in the history
  • Loading branch information
IWANABETHATGUY committed Jul 13, 2024
1 parent 2018acb commit a11c3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async function main() {
return;
}
let repoUrl =
(data.points[0] as any).repoUrl;
(data.points[data.points.length - 1 ] as any).repoUrl;
const url = repoUrl ? `${repoUrl.trimEnd("/")}/commit/${commit_hash}` : commit_hash;
console.log(`url: `, url);
const notification_text = `Commit <b>${commit_hash}</b> URL copied to clipboard`;
Expand Down

0 comments on commit a11c3ef

Please sign in to comment.