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