Commit 026b154f authored by Matija Čupić's avatar Matija Čupić

Remove EE::Ci::Pipeline#initialize_yaml_processor

parent f7f77a8a
...@@ -488,7 +488,7 @@ module Ci ...@@ -488,7 +488,7 @@ module Ci
end end
def initialize_yaml_processor def initialize_yaml_processor
Gitlab::Ci::YamlProcessor.new(ci_yaml_file) ::Gitlab::Ci::YamlProcessor.new(ci_yaml_file, { project: project, sha: sha })
end end
def ci_yaml_file_path def ci_yaml_file_path
......
...@@ -54,10 +54,6 @@ module EE ...@@ -54,10 +54,6 @@ module EE
@dast_artifact ||= artifacts_with_files.find(&:has_dast_json?) @dast_artifact ||= artifacts_with_files.find(&:has_dast_json?)
end end
def initialize_yaml_processor
::Gitlab::Ci::YamlProcessor.new(ci_yaml_file, { project: project, sha: sha })
end
def has_sast_data? def has_sast_data?
sast_artifact&.success? sast_artifact&.success?
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