Skip to content

Commit

Permalink
ci: 中断 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
enpitsuLin committed Nov 15, 2023
1 parent 36b88be commit d8020da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ async function doAttendanceForAccount(token: string) {
if (data.code === 0 && data.message === 'OK') {
console.log(`${character.nickName}签到成功, 获得了${data.data.awards.map(a => a.resource.name + '' + a.count + '个').join(',')}`);
} else {
console.log(`${character.nickName}签到失败, 错误消息: ${data.message} raw response json: ${JSON.stringify(data)}`)
console.error(`${character.nickName}签到失败, 错误消息: ${data.message} raw response json: ${JSON.stringify(data)}`)
// quit ci with error
process.exit(1)
}
})
)
Expand Down

0 comments on commit d8020da

Please sign in to comment.