fix(self-check): fail to fix

This commit is contained in:
Jacky 2025-05-03 07:56:10 +08:00
parent cf531e3f09
commit 1c282a57ad
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
3 changed files with 4 additions and 1 deletions

View file

@ -30,7 +30,8 @@
"golang.go",
"vue.volar",
"ms-azuretools.vscode-docker",
"akino.i18n-gettext"
"akino.i18n-gettext",
"github.vscode-github-actions"
]
}
},

View file

@ -16,6 +16,7 @@ func Run() (reports Reports) {
status = ReportStatusError
}
reports = append(reports, &Report{
Key: task.Key,
Name: task.Name,
Description: task.Description,
Fixable: task.FixFunc != nil,

View file

@ -24,6 +24,7 @@ const (
)
type Report struct {
Key string `json:"key"`
Name *translation.Container `json:"name"`
Description *translation.Container `json:"description,omitempty"`
Fixable bool `json:"fixable"`