mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-14 12:17:33 -06:00
Fix broken defaults and broken flags (#314)
* start with a default config, not an empty config. * some data structures were present on Empty config but not Default config * the monkey patched CLIContext is working * remove print debugging log * make the behaviour of the flags consistent across all data types Conflicts: internal/config/config.go * try to fix accidentally broken test
This commit is contained in:
parent
3caae376e7
commit
ab316d2250
9 changed files with 104 additions and 87 deletions
|
|
@ -150,6 +150,8 @@ func Default() *Config {
|
|||
Password: defaults.SMTPPassword,
|
||||
From: defaults.SMTPFrom,
|
||||
},
|
||||
AccountCLIFlags: make(map[string]string),
|
||||
ExportCLIFlags: make(map[string]string),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue