diff options
author | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2017-07-07 17:25:08 +0200 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2017-07-07 17:25:08 +0200 |
commit | 154edf889275a064242bb2a4c913813079224668 (patch) | |
tree | f4fd3fed0e5d63eb162346cda1ad6630c087bdb8 | |
parent | 8083562991255f20667f362ba6147d94e2b98a5e (diff) | |
download | gitlab-shell-154edf889275a064242bb2a4c913813079224668.tar.gz |
hashes have .include? not .has?
-rw-r--r-- | lib/gitlab_shell.rb | 2 |
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'] }) |