Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-04-20 15:09:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-20 15:09:30 +0300
commit0549ffef0d4f862a7354847dd185725cc196eed0 (patch)
treeab738498979b577ad3c89a986c6690250bcff104 /lib/gitlab/ci/parsers.rb
parent03409cccee9b1cd8104484077338790add355c7d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/ci/parsers.rb')
-rw-r--r--lib/gitlab/ci/parsers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/ci/parsers.rb b/lib/gitlab/ci/parsers.rb
index 2baa8faf849..83d1c795c6b 100644
--- a/lib/gitlab/ci/parsers.rb
+++ b/lib/gitlab/ci/parsers.rb
@@ -15,8 +15,8 @@ module Gitlab
}
end
- def self.fabricate!(file_type, *args)
- parsers.fetch(file_type.to_sym).new(*args)
+ def self.fabricate!(file_type, *args, **kwargs)
+ parsers.fetch(file_type.to_sym).new(*args, **kwargs)
rescue KeyError
raise ParserNotFoundError, "Cannot find any parser matching file type '#{file_type}'"
end