# SupportedStylesAlignWith: keyword, variable, start_of_line
Layout/EndAlignment:
Exclude:
- - 'app/helpers/repositories_helper.rb'
- 'app/helpers/versions_helper.rb'
- 'lib/redmine/export/pdf/issues_pdf_helper.rb'
def scm_select_tag(repository)
scm_options = [["--- #{l(:actionview_instancetag_blank_option)} ---", '']]
Redmine::Scm::Base.all.each do |scm|
- if Setting.enabled_scm.include?(scm) ||
+ if Setting.enabled_scm.include?(scm) ||
(repository && repository.class.name.demodulize == scm)
scm_options << ["Repository::#{scm}".constantize.scm_name, scm]
end