Skip to content

Commit 9fa9177

Browse files
committed
push event payload
1 parent a622705 commit 9fa9177

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@
228228
payloads.forEach(payload => {
229229
let link = document.createElement('a');
230230
link.target = '_blank';
231+
if (payload.head == null) {
232+
return;
233+
}
231234
link.textContent = payload.head.slice(0, 6);
232235
link.href = `https://github.com/${repoName}/tree/${payload.head}`;
233236
link.style.color = '#333'; // Dark text for the link

0 commit comments

Comments
 (0)