1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

Format diagnostic message

This commit is contained in:
Harvey Kandola 2018-06-07 14:24:41 +01:00
parent bf305d271e
commit b316ba80d8

View file

@ -70,8 +70,8 @@ func Numberize(pages []Page) {
// Troubleshooting help
if len(numbering) == 0 {
fmt.Printf("No number allocated to page %s ('%s')",
pages[i].RefID, pages[i].Title)
fmt.Println(fmt.Sprintf("No number allocated to page %s ('%s')",
pages[i].RefID, pages[i].Title))
}
// update state