mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
fix: address verified review findings (auth-config-doctor-1)
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
7 files changed
+113
-6
No files matched your search
@@ -54,6 +54,8 @@ const doctorTimeout = 10 * time.Second
|
||||
func (a *application) doctorCommand() *cobra.Command {
|
||||
return &cobra.Command{
|
||||
Use: "doctor", Short: "Check tea's setup for this directory", Args: argsExact(0),
|
||||
// doctor loads the settings itself, to report a broken file instead of failing on it.
|
||||
Annotations: map[string]string{"tea.offline": "true"},
|
||||
Long: `Check the setup that commands in this directory use: the settings files, the instance
|
||||
and whether it answers, the account and its credential, the repository, and Git. Each
|
||||
problem comes with the command that fixes it. tea doctor fails when a check fails.`,
|
||||
|
||||
Reference in new issue
Block a user