diff options
Diffstat (limited to 'internal/run.go')
| -rw-r--r-- | internal/run.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/run.go b/internal/run.go index 91fe323..eed8ad5 100644 --- a/internal/run.go +++ b/internal/run.go @@ -39,6 +39,13 @@ func Run(ctx context.Context, configFile string, renotify, force bool) { if err := persistReport(subject, body, conf); err != nil { notifyError(conf, err) } + + // Generate HTML status page (unless disabled) + if !conf.HTMLDisable { + if err := persistHTMLReport(state, subject, conf); err != nil { + notifyError(conf, err) + } + } } func persistReport(subject, body string, conf config) error { |
