diff options
Diffstat (limited to 'app/services/ci/list_config_variables_service.rb')
-rw-r--r-- | app/services/ci/list_config_variables_service.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app/services/ci/list_config_variables_service.rb b/app/services/ci/list_config_variables_service.rb index dbea270b7c6..1020e98f463 100644 --- a/app/services/ci/list_config_variables_service.rb +++ b/app/services/ci/list_config_variables_service.rb @@ -28,9 +28,12 @@ module Ci return {} unless config.exists? - result = Gitlab::Ci::YamlProcessor.new(config.content, project: project, - user: current_user, - sha: sha).execute + result = Gitlab::Ci::YamlProcessor.new( + config.content, + project: project, + user: current_user, + sha: sha + ).execute result.valid? ? result.root_variables_with_prefill_data : {} end |