mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-11 04:11:18 +01:00
Merge pull request 'doctor: Don't say All done when no checks were run' (#1907) from algernon/forgejo:f/1905-doctor-all-done into forgejo-dependency
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1907
This commit is contained in:
commit
61ff531c98
1 changed files with 5 additions and 1 deletions
|
@ -104,7 +104,11 @@ func RunChecks(ctx context.Context, colorize, autofix bool, checks []*Check) err
|
|||
logger.Info("OK")
|
||||
}
|
||||
}
|
||||
if len(checks) > 0 {
|
||||
logger.Info("\nAll done.")
|
||||
} else {
|
||||
logger.Info("\nNo checks to run.")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue