Add set jira and set github token commands

This commit is contained in:
Miguel de la Cruz 2020-02-29 00:34:17 +01:00
parent 6bd0a99a32
commit 167dc7aae8
3 changed files with 45 additions and 1 deletions

View file

@ -28,7 +28,7 @@ func ReadConfig() (*Config, error) {
}
if _, err := os.Stat(configPath); err != nil {
return nil, fmt.Errorf("cannot read campaigner config file: %w", err)
return &Config{}, nil
}
fileContents, err := ioutil.ReadFile(configPath)