Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
a0519818
Commit
a0519818
authored
Nov 11, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak code formatting.
parent
7b405d30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/services/projects/create_service.rb
app/services/projects/create_service.rb
+4
-4
No files found.
app/services/projects/create_service.rb
View file @
a0519818
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment