Skip to content

Commit 9d52c27

Browse files
fix(git): fix linting error (#159)
1 parent caf1fd0 commit 9d52c27

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

pkg/git/git.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ func CreateRemote(host, remote, appID string) error {
3030
output, _ := ioutil.ReadAll(stderr)
3131
fmt.Print(string(output))
3232

33-
if err := cmd.Wait(); err != nil {
34-
return err
35-
}
36-
37-
return nil
33+
return cmd.Wait()
3834
}
3935

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

0 commit comments

Comments
 (0)