From d635431d52db3d75e2cdacdc0f7c595c0945fc72 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Tue, 30 Aug 2022 11:29:08 +0200 Subject: [PATCH] Improve empty page info --- WebsiteGenerator/Files/FileSystem.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebsiteGenerator/Files/FileSystem.swift b/WebsiteGenerator/Files/FileSystem.swift index ee113e0..4dec232 100644 --- a/WebsiteGenerator/Files/FileSystem.swift +++ b/WebsiteGenerator/Files/FileSystem.swift @@ -417,9 +417,9 @@ final class FileSystem { guard !emptyPages.isEmpty else { return } - log.add(info: "\(emptyPages.count) empty pages:", source: "FileSystem") + log.add(info: "\(emptyPages.count) empty pages:", source: "Files") for page in emptyPages.sorted() { - log.add(info: "Empty page generated", source: page) + log.add(info: "\(page) has no content", source: "Files") } }