Commit a2e29896 authored by Tomasz Maczukin's avatar Tomasz Maczukin

Modify code formatting

parent 5018d7d5
...@@ -64,9 +64,7 @@ module Ci ...@@ -64,9 +64,7 @@ module Ci
@jobs = {} @jobs = {}
@config.except!(*ALLOWED_YAML_KEYS) @config.except!(*ALLOWED_YAML_KEYS)
@config.each do |name, param| @config.each{ |name, param| add_job(name, param) }
add_job(name, param)
end
raise ValidationError, "Please define at least one job" if @jobs.none? raise ValidationError, "Please define at least one job" if @jobs.none?
end end
......
Markdown is supported
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