BigW Consortium Gitlab

Update no-ee-check with rubocop recommendation.

parent 470f5535
#!/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
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