fix spacing

This commit is contained in:
Kassem Sandarusi 2025-01-09 18:44:25 -06:00 committed by Manuel Rüger
parent 5accce3b17
commit ebe77984c6

18
main.go
View File

@ -531,9 +531,9 @@ func processFile(
contentHash := getSHA1Hash(html)
log.Debugf(
nil,
"content hash: %s",
contentHash,
nil,
"content hash: %s",
contentHash,
)
versionPattern := `\[v([a-f0-9]{40})]$`
@ -543,16 +543,16 @@ func processFile(
if len(matches) > 1 {
log.Debugf(
nil,
"previous content hash: %s",
matches[1],
nil,
"previous content hash: %s",
matches[1],
)
if matches[1] == contentHash {
log.Infof(
nil,
"page %q is already up to date",
target.Title,
nil,
"page %q is already up to date",
target.Title,
)
shouldUpdatePage = false
}