Add set jira and set github token commands
This commit is contained in:
parent
6bd0a99a32
commit
167dc7aae8
3 changed files with 45 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue