Skip to content

Commit

Permalink
gofmt config.go
Browse files Browse the repository at this point in the history
  • Loading branch information
GP committed Dec 13, 2018
1 parent e4cd2a6 commit 2ea4792
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ func Open(configFile string) (*CacophonyAPI, error) {
// event-reporter register at about the same time. Extract this to
// a library which does locking.
if api.JustRegistered() {

err := WritePassword(privConfigFilename, api.Password())
if err != nil {
return nil, err
Expand Down

0 comments on commit 2ea4792

Please sign in to comment.