summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-07-07 17:25:08 +0200
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-07-07 17:25:08 +0200
commit154edf889275a064242bb2a4c913813079224668 (patch)
treef4fd3fed0e5d63eb162346cda1ad6630c087bdb8
parent8083562991255f20667f362ba6147d94e2b98a5e (diff)
downloadgitlab-shell-154edf889275a064242bb2a4c913813079224668.tar.gz
hashes have .include? not .has?
-rw-r--r--lib/gitlab_shell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb
index 0722377..9d92088 100644
--- a/lib/gitlab_shell.rb
+++ b/lib/gitlab_shell.rb
@@ -157,7 +157,7 @@ class GitlabShell
'GL_PROTOCOL' => GL_PROTOCOL,
'GL_REPOSITORY' => @gl_repository
}
- if @gitaly && @gitaly.has?('token')
+ if @gitaly && @gitaly.include?('token')
env.merge!({
'GITALY_TOKEN' => @gitaly['token']
})