Skip to content

Commit 6930845

Browse files
committed
4.27
1 parent 8389a52 commit 6930845

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
C:/Users/ltxhhz/.prettierrc
1+
c:/Users/ltxhhz/.prettierrc

.workflow-script/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
const useTemplate = (repo, manifest) => {
8181
/**@type {HTMLDivElement}*/
8282
const clone = templateEl.cloneNode(true)
83-
if (manifest) {
83+
if (manifest && manifest != 404) {
8484
clone.innerHTML = clone.innerHTML
8585
.replace('#标题', `<a class="underline hover:text-blue-500 duration-300" href="https://github.com/${repo}" target="_blank">${manifest?.name}</a>`)
8686
.replace('#版本', manifest.version)
@@ -103,7 +103,7 @@
103103
} else {
104104
clone.innerHTML = clone.innerHTML
105105
.replace('#标题', `<a class="underline hover:text-blue-500 duration-300" href="https://github.com/${repo}" target="_blank">${repo}</a>`)
106-
.replace('#说明', '获取失败')
106+
.replace('#说明', manifest == 404 ? '疑似跑路' : '获取失败')
107107
}
108108
return clone
109109
}

0 commit comments

Comments
 (0)