Modify code formatting
This commit is contained in:
parent
5018d7d5b7
commit
a2e2989637
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue