summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gitlab_access.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab_access.rb b/lib/gitlab_access.rb
index 63c074b..80c050c 100644
--- a/lib/gitlab_access.rb
+++ b/lib/gitlab_access.rb
@@ -10,7 +10,8 @@ class GitlabAccess
def initialize(repo_path, actor, changes)
@config = GitlabConfig.new
- @repo_path, @actor = repo_path.strip, actor
+ @repo_path = repo_path.strip
+ @actor = actor
@repo_name = extract_repo_name(@repo_path.dup, config.repos_path.to_s)
@changes = changes.lines
end