mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-17 19:46:18 +00: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
|
@ -104,7 +104,11 @@ func RunChecks(ctx context.Context, colorize, autofix bool, checks []*Check) err
|
|||
logger.Info("OK")
|
||||
}
|
||||
}
|
||||
logger.Info("\nAll done.")
|
||||
if len(checks) > 0 {
|
||||
logger.Info("\nAll done.")
|
||||
} else {
|
||||
logger.Info("\nNo checks to run.")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue