forked from lunny/changelog
Set default service as github when service type empty (#40)
Set default service as github Reviewed-on: https://gitea.com/gitea/changelog/pulls/40 Reviewed-by: Andrew Thornton <art27@cantab.net> Reviewed-by: 6543 <6543@noreply.gitea.io>
This commit is contained in:
parent
fe3041f2f9
commit
cbd79ff6d9
@ -54,5 +54,9 @@ func New(configPath string) (*Config, error) {
|
||||
}
|
||||
}
|
||||
|
||||
if cfg.Service == "" {
|
||||
cfg.Service = "github"
|
||||
}
|
||||
|
||||
return cfg, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user