fix: bad ux
This commit is contained in:
parent
a70ed5a372
commit
5a425b8c60
15 changed files with 791 additions and 463 deletions
|
|
@ -28,7 +28,7 @@ func Load() (*Config, error) {
|
|||
}
|
||||
|
||||
filename := filepath.Join(configDir, "config.json")
|
||||
|
||||
|
||||
// If file doesn't exist, return empty config with filename set
|
||||
if _, err := os.Stat(filename); os.IsNotExist(err) {
|
||||
return &Config{filename: filename}, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue