From 5012c48211845e095e32aaabb57a4c556ee20e48 Mon Sep 17 00:00:00 2001 From: Horatiu Eugen Vlad Date: Wed, 14 Nov 2018 10:28:28 +0100 Subject: [PATCH] Fixes #167: Constants in GitlabNet throw warnings --- hooks/pre-receive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/pre-receive b/hooks/pre-receive index 6ce587951..65cd6e595 100755 --- a/hooks/pre-receive +++ b/hooks/pre-receive @@ -16,8 +16,8 @@ def increase_reference_counter(gl_repository, repo_path) end require_relative '../lib/gitlab_custom_hook' -require_relative '../lib/gitlab_access' require_relative '../lib/gitlab_net' +require_relative '../lib/gitlab_access' # It's important that on pre-receive `increase_reference_counter` gets executed # last so that it only runs if everything else succeeded. On post-receive on the -- GitLab