Fix for "undefined method `<<' for nil:NilClass"
This commit is contained in:
parent
c3f415e90c
commit
7e1a26000e
|
@ -60,7 +60,7 @@ class Project < ActiveRecord::Base
|
|||
bl.build_requires = false # already set as db default
|
||||
bl.user = user
|
||||
bl.auto_publish = true # already set as db default
|
||||
bl.include_repos = [] << platform.repositories.find_by_name('main').id
|
||||
bl.include_repos = [platform.repositories.find_by_name('main').id]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue