Skip to content

Commit

Permalink
feat: 修改客户端提示
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Apr 24, 2022
1 parent ac3bda5 commit 9a6c350
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions inspector/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,9 @@ func Scan(ctx *ScanContext) (interface{}, error) {
}
ui.Display(display.MsgInfo, fmt.Sprint("项目名称:", ctx.ProjectName))
if ctx.GitInfo != nil {
ui.UpdateStatus(display.StatusRunning, "正在获取贡献者信息......")
list, e := CollectContributor(ctx.ProjectDir)
if e != nil {
ui.Display(display.MsgWarn, "获取贡献者信息失败:"+e.Error())
} else {
if e == nil {
ctx.ContributorList = list
ui.Display(display.MsgInfo, fmt.Sprint("共发现", len(ctx.ContributorList), "位仓库贡献者"))
}
}
ui.UpdateStatus(display.StatusRunning, "正在创建扫描任务,请稍候······")
Expand Down

0 comments on commit 9a6c350

Please sign in to comment.