Update no-ee-check with rubocop recommendation.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
470f55351b
commit
fba580e37f
1 changed files with 2 additions and 3 deletions
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/env ruby
|
||||
ee_path = File.join(File.expand_path(File.dirname(__FILE__)), '../ee')
|
||||
result = Dir.exist?(ee_path)
|
||||
ee_path = File.join(File.expand_path(__dir__), '../ee')
|
||||
|
||||
if result
|
||||
if Dir.exist?(ee_path)
|
||||
puts 'The repository contains /ee directory. There should be no /ee directory in CE repo.'
|
||||
exit 1
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue