Skip to content
Snippets Groups Projects
Commit 6d8482b1 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Satisfy rubocop

parent 9cce83b1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
[]
Loading
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment