Skip to content

Commit e1fea71

Browse files
committed
docs: README validation
1 parent a990ecd commit e1fea71

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

options/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,13 +384,13 @@ func Read() (Config, error) {
384384

385385
func (c *Config) check() {
386386
if c.Version == "" {
387-
fmt.Println("Config file is outdated. Please update it with: style -create")
387+
fmt.Println("[WARNING] Config file is outdated. Please update it with: style -create")
388388
return
389389
}
390390

391391
if c.Version != version {
392392
fmt.Printf(
393-
"Config version (%v) is not the same as the current version (%v).\n",
393+
"[WARNING] Config version (%v) is not the same as the current version (%v).\n",
394394
c.Version,
395395
version,
396396
)

0 commit comments

Comments
 (0)