Skip to content

Commit

Permalink
update build todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjj1024 committed Dec 22, 2024
1 parent fa16c05 commit 2f3b097
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1249,6 +1249,7 @@ const dispatchAction = async () => {
}
)
console.log('dispatchRes---', dispatchRes)
//TODO maybe error---
buildSecondTimer = setInterval(() => {
buildTime += 1
const minute = Math.floor(buildTime / 60)
Expand Down Expand Up @@ -1290,7 +1291,7 @@ const checkBuildStatus = async () => {
}
)
console.log('checkRes---', checkRes)
// check build status, runs may be null
//TODO check build status, runs may be null
const build_runs = checkRes.data.workflow_runs[0]
const { status, conclusion, html_url } = build_runs
buildStatus = t(status) || t('inProgress')
Expand Down

0 comments on commit 2f3b097

Please sign in to comment.