Skip to content

Commit f2e73bd

Browse files
committed
fix the latest check
1 parent 1886a13 commit f2e73bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ if (changelog)
112112

113113
const hashLabel = document.createElement('code')
114114
hashLabel.className = 'hash'
115-
hashLabel.classList.toggle('latest', title.includes('origin/HEAD'))
115+
hashLabel.classList.toggle('latest', title.includes('origin/main'))
116116
hashLabel.classList.toggle('local-latest', title.includes('HEAD ->'))
117117
hashLabel.textContent = hash.substring(0, 7)
118118
hashLabel.title = hash

0 commit comments

Comments
 (0)