From 930d99aa9e715d803f6505fbb7625cb48187ae8b Mon Sep 17 00:00:00 2001 From: iseki Date: Mon, 20 Jun 2022 21:24:19 +0800 Subject: [PATCH] fix: ideascan status code --- model/idea_output.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/idea_output.go b/model/idea_output.go index f8c40257..10f27689 100644 --- a/model/idea_output.go +++ b/model/idea_output.go @@ -92,7 +92,7 @@ func GenerateIdeaOutput(c context.Context) string { } p := &PluginOutput{ ProjectName: ctx.ProjectName, - ErrCode: 0, + ErrCode: IdeaSucceed, IssuesCount: i.IssuesCompsCount, Comps: []PluginComp{}, TaskId: i.TaskId,