Tweak code formatting.

This commit is contained in:
Douwe Maan 2015-11-11 16:26:43 +01:00
parent 7b405d3064
commit a0519818cb
1 changed files with 4 additions and 4 deletions

View File

@ -55,7 +55,9 @@ module Projects
@project.save
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
@ -94,9 +96,7 @@ module Projects
@project.team << [current_user, :master, current_user]
end
if @project.import?
@project.import_start
end
@project.import_start if @project.import?
end
end
end