mirror of
https://github.com/harness/drone.git
synced 2025-05-01 21:21:11 +00:00
gofmt
This commit is contained in:
parent
82189c27fe
commit
3141ccdaae
@ -137,7 +137,7 @@ func (c *Client) CreateHook(owner string, name string, callBackLink string) erro
|
||||
return err
|
||||
}
|
||||
hooks := make([]string, 0)
|
||||
if (hookDetails.Enabled) {
|
||||
if hookDetails.Enabled {
|
||||
hookSettings, err := c.GetHooks(owner, name)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
x
Reference in New Issue
Block a user