diff options
author | jose <jose.kahan@w3.org> | 2014-10-30 18:20:42 +0100 |
---|---|---|
committer | jose <jose.kahan@w3.org> | 2014-10-30 18:20:42 +0100 |
commit | 7c2208a6196936bb3bcad2d126dd61252aa899e2 (patch) | |
tree | f5cf4a3d1f296b7c8c95760bf7e809e48fa84d57 /lib/gitlab_access.rb | |
parent | f25e8e140d8bddf453f3d827f4a0787730d2f813 (diff) | |
download | gitlab-shell-7c2208a6196936bb3bcad2d126dd61252aa899e2.tar.gz |
using true instead of 1
Diffstat (limited to 'lib/gitlab_access.rb')
-rw-r--r-- | lib/gitlab_access.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_access.rb b/lib/gitlab_access.rb index ee7a94a..804d06d 100644 --- a/lib/gitlab_access.rb +++ b/lib/gitlab_access.rb @@ -18,7 +18,7 @@ class GitlabAccess def exec if api.allowed?('git-receive-pack', @repo_name, @actor, @changes) - return 1 + return true else # reset GL_ID env since we stop git push here ENV['GL_ID'] = nil |