diff options
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/pre-receive | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/pre-receive b/hooks/pre-receive index 58a628b..6ce5879 100755 --- a/hooks/pre-receive +++ b/hooks/pre-receive @@ -12,7 +12,7 @@ gl_repository = ENV['GL_REPOSITORY'] def increase_reference_counter(gl_repository, repo_path) result = GitlabNet.new.pre_receive(gl_repository) - result['reference_counter_increased'] + result && result['reference_counter_increased'] end require_relative '../lib/gitlab_custom_hook' |