Browse Source

Update error

Svilen Markov 7 tháng trước cách đây
mục cha
commit
2c03316f86
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      internal/glance/config.go

+ 1 - 1
internal/glance/config.go

@@ -267,7 +267,7 @@ func isConfigStateValid(config *config) error {
 
 	for i := range config.Pages {
 		if config.Pages[i].Title == "" {
-			return fmt.Errorf("page %d has no title", i+1)
+			return fmt.Errorf("page %d has no name", i+1)
 		}
 
 		if config.Pages[i].Width != "" && (config.Pages[i].Width != "wide" && config.Pages[i].Width != "slim") {