File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ func buildIndexPage(pages []*Page, tagMap *TagMap) {
324
324
Fail (err )
325
325
}
326
326
327
- ll . Print ( fmt . Sprintf ( "%s %s \n " , Blue ( " \t ->" ), filePath ) )
327
+ Progress ( filePath )
328
328
}
329
329
330
330
// buildTagPages creates the tag pages, with links to posts tagged with those names
@@ -363,7 +363,7 @@ func buildTagPages(pages []*Page) *TagMap {
363
363
Fail (err )
364
364
}
365
365
366
- ll . Print ( fmt . Sprintf ( "%s %s \n " , Blue ( " \t ->" ), filePath ) )
366
+ Progress ( filePath )
367
367
}(tagName , ll )
368
368
}
369
369
@@ -573,6 +573,11 @@ func Info(msg string) {
573
573
ll .Print (fmt .Sprintf ("%s %s" , Green ("->" ), msg ))
574
574
}
575
575
576
+ // Progress writes out a progress status message
577
+ func Progress (msg string ) {
578
+ ll .Print (fmt .Sprintf ("\t %s %s\n " , Blue ("->" ), msg ))
579
+ }
580
+
576
581
// Victory writes out a victorious final message and then expires dramatically
577
582
func Victory (msg string ) {
578
583
ll .Print (fmt .Sprintf ("%s %s" , Green ("✓" ), msg ))
You can’t perform that action at this time.
0 commit comments