Commit a0519818 authored by Douwe Maan's avatar Douwe Maan

Tweak code formatting.

parent 7b405d30
...@@ -55,7 +55,9 @@ module Projects ...@@ -55,7 +55,9 @@ module Projects
@project.save @project.save
if @project.persisted? && !@project.import? if @project.persisted? && !@project.import?
raise 'Failed to create repository' unless @project.create_repository unless @project.create_repository
raise 'Failed to create repository'
end
end end
end end
...@@ -94,9 +96,7 @@ module Projects ...@@ -94,9 +96,7 @@ module Projects
@project.team << [current_user, :master, current_user] @project.team << [current_user, :master, current_user]
end end
if @project.import? @project.import_start if @project.import?
@project.import_start
end
end end
end end
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