tip for sonar results
This commit is contained in:
parent
5e98884801
commit
bafb3e98a7
|
@ -238,7 +238,7 @@ class QualityAnalysisController < ApplicationController
|
|||
@quality_analyses = QualityAnalysis.where(:project_id => @project.id).select{|qa| arr.include?(qa.sonar_name)}
|
||||
else
|
||||
languate_arr = ['ruby', 'c#', 'c++', 'c']
|
||||
qa_language = QualityAnalysis.where(:sonar_name => @resource_id).first.try(language)
|
||||
qa_language = QualityAnalysis.where(:sonar_name => @resource_id).first.try(:language)
|
||||
if !qa_language.blank? && languate_arr.include?(qa_language)
|
||||
@language_flag = true
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue