gitlab-org--gitlab-foss/scripts/no-ee-check
Dmitriy Zaporozhets fba580e37f
Update no-ee-check with rubocop recommendation.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-05-22 18:35:51 +03:00

7 lines
206 B
Ruby
Executable file

#!/usr/bin/env ruby
ee_path = File.join(File.expand_path(__dir__), '../ee')
if Dir.exist?(ee_path)
puts 'The repository contains /ee directory. There should be no /ee directory in CE repo.'
exit 1
end