From 7c2208a6196936bb3bcad2d126dd61252aa899e2 Mon Sep 17 00:00:00 2001 From: jose Date: Thu, 30 Oct 2014 18:20:42 +0100 Subject: using true instead of 1 --- lib/gitlab_access.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1