gitlab/scripts/no-ee-check
Markus Koller ade74215fb Fix Style/FrozenStringLiteralComment violations in scripts
Auto-corrected with Rubocop
2021-02-12 09:09:19 +00:00

10 lines
237 B
Ruby
Executable file

#!/usr/bin/env ruby
# frozen_string_literal: true
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