Commit 931e0b78 authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'if-ruby2.7_kwargs_in_finder_with_cross_project_access' into 'master'

Fix Ruby 2.7 kwargs deprecation warning in FinderWithCrossProjectAccess

See merge request gitlab-org/gitlab!44435
parents 936877b3 13f00934
......@@ -32,7 +32,7 @@ module FinderWithCrossProjectAccess
end
override :execute
def execute(*args)
def execute(*args, **kwargs)
check = Gitlab::CrossProjectAccess.find_check(self)
original = -> { super }
......
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