diff options
author | James Lopez <james@jameslopez.es> | 2016-02-11 14:50:27 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-02-11 14:50:27 +0300 |
commit | 77d2aeabec4601a1d9dda93c8fff0c7d1051ba1f (patch) | |
tree | fbd16b9c6cd81eccc9737e7634a7f6fa098ed882 /app/workers | |
parent | 9bcc9ec14cf4f120b8e16d5c232f82e1fc5e2cfd (diff) |
attempt to reduce code complexity on GitPushService#execute
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/post_receive.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/post_receive.rb b/app/workers/post_receive.rb index 994b8e8ed38..80081ac5f49 100644 --- a/app/workers/post_receive.rb +++ b/app/workers/post_receive.rb @@ -38,7 +38,7 @@ class PostReceive if Gitlab::Git.tag_ref?(ref) GitTagPushService.new.execute(project, @user, oldrev, newrev, ref) else - GitPushService.new.execute(project, @user, oldrev, newrev, ref) + GitPushService.new(project, @user, oldrev, newrev, ref).execute end end end |