diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-19 15:53:31 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-19 15:58:17 +0300 |
commit | 6b07a5b26c115e0844e6e74efe6c6405c5a82812 (patch) | |
tree | 24d51f37677f04dff900cedfc5b9be90a3c85eab /lib/ci | |
parent | 276d28a60fe0276ce5aa72f323fc25935f5c720d (diff) |
Improve code design
Diffstat (limited to 'lib/ci')
-rw-r--r-- | lib/ci/gitlab_ci_yaml_processor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/gitlab_ci_yaml_processor.rb b/lib/ci/gitlab_ci_yaml_processor.rb index d1ce6de5a7d..83afed9f49f 100644 --- a/lib/ci/gitlab_ci_yaml_processor.rb +++ b/lib/ci/gitlab_ci_yaml_processor.rb @@ -44,7 +44,7 @@ module Ci end def builds_for_ref(ref, tag = false, trigger_request = nil) - jobs_for_ref(ref, tag, trigger_request).map do |name, job| + jobs_for_ref(ref, tag, trigger_request).map do |name, _| build_attributes(name) end end |