Skip to content

Commit

Permalink
fix(git): fix linting error (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Anderson committed Aug 1, 2016
1 parent caf1fd0 commit 9d52c27
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ func CreateRemote(host, remote, appID string) error {
output, _ := ioutil.ReadAll(stderr)
fmt.Print(string(output))

if err := cmd.Wait(); err != nil {
return err
}

return nil
return cmd.Wait()
}

// DeleteAppRemotes removes all git remotes corresponding to an app in the repository.
Expand Down

0 comments on commit 9d52c27

Please sign in to comment.