Commit fba580e3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Update no-ee-check with rubocop recommendation.

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 470f5535
#!/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
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