Update errorf.md

This commit is contained in:
Bjørn Erik Pedersen 2018-06-21 00:35:27 +02:00 committed by GitHub
parent 1c0f35fd1a
commit 35706c21a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ deprecated: false
aliases: [] aliases: []
--- ---
`errorf` will evaluate a format string, then output the result to the ERROR log. `errorf` will evaluate a format string, then output the result to the ERROR log (and only once per error message to avoid flooding the log).
This will also cause the build to fail (the `hugo` command will `exit -1`). This will also cause the build to fail (the `hugo` command will `exit -1`).