logo
2933
95
WeChat Login

fix: 修改 migrate.Run() 返回退出码并在 ccrctl 中处理退出状态#215

Merged
created 2025-11-07
main
feat/ci-exit-code
Edit
OverviewCommits
2
Files changed
3
AttachmentsTAPD

以下内容由 AI 生成

调整了迁移函数的返回值及主程序退出逻辑。1. migrate.Run()返回int类型,出错时返回具体错误码(如配置错误返回1);2. ccrctl主函数调用后通过os.Exit传递该返回码,实现迁移结果的退出状态传递。

is using the squash method to force merge into8940207d
fix: 修改 migrate.Run() 返回退出码并在 ccrctl 中处理退出状态

Successfully merged and closed

branch can be safely deleted
Reviewer
(folger)
(子非鱼-雷峰)
Assignee
None yet
Label
None yet
Participant