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
Léo-Paul Géneau
gitlab-ce
Commits
fba580e3
Commit
fba580e3
authored
May 21, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update no-ee-check with rubocop recommendation.
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
470f5535
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
scripts/no-ee-check
scripts/no-ee-check
+2
-3
No files found.
scripts/no-ee-check
View file @
fba580e3
#!/usr/bin/env ruby
#!/usr/bin/env ruby
ee_path
=
File
.
join
(
File
.
expand_path
(
File
.
dirname
(
__FILE__
)),
'../ee'
)
ee_path
=
File
.
join
(
File
.
expand_path
(
__dir__
),
'../ee'
)
result
=
Dir
.
exist?
(
ee_path
)
if
result
if
Dir
.
exist?
(
ee_path
)
puts
'The repository contains /ee directory. There should be no /ee directory in CE repo.'
puts
'The repository contains /ee directory. There should be no /ee directory in CE repo.'
exit
1
exit
1
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