Commit 6d8482b1 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Satisfy rubocop

parent 9cce83b1
......@@ -251,7 +251,7 @@ class Build < ActiveRecord::Base
def yaml_variables
if commit.config_processor
commit.config_processor.variables.map do |key, value|
{key: key, value: value, public: true}
{ key: key, value: value, public: true }
end
else
[]
......@@ -260,7 +260,7 @@ class Build < ActiveRecord::Base
def project_variables
project.variables.map do |variable|
{key: variable.key, value: variable.value, public: false}
{ key: variable.key, value: variable.value, public: false }
end
end
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment