mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
fix(self-check): fail to fix
This commit is contained in:
parent
cf531e3f09
commit
1c282a57ad
3 changed files with 4 additions and 1 deletions
|
@ -30,7 +30,8 @@
|
||||||
"golang.go",
|
"golang.go",
|
||||||
"vue.volar",
|
"vue.volar",
|
||||||
"ms-azuretools.vscode-docker",
|
"ms-azuretools.vscode-docker",
|
||||||
"akino.i18n-gettext"
|
"akino.i18n-gettext",
|
||||||
|
"github.vscode-github-actions"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -16,6 +16,7 @@ func Run() (reports Reports) {
|
||||||
status = ReportStatusError
|
status = ReportStatusError
|
||||||
}
|
}
|
||||||
reports = append(reports, &Report{
|
reports = append(reports, &Report{
|
||||||
|
Key: task.Key,
|
||||||
Name: task.Name,
|
Name: task.Name,
|
||||||
Description: task.Description,
|
Description: task.Description,
|
||||||
Fixable: task.FixFunc != nil,
|
Fixable: task.FixFunc != nil,
|
||||||
|
|
|
@ -24,6 +24,7 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
type Report struct {
|
type Report struct {
|
||||||
|
Key string `json:"key"`
|
||||||
Name *translation.Container `json:"name"`
|
Name *translation.Container `json:"name"`
|
||||||
Description *translation.Container `json:"description,omitempty"`
|
Description *translation.Container `json:"description,omitempty"`
|
||||||
Fixable bool `json:"fixable"`
|
Fixable bool `json:"fixable"`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue