Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c69b27bc
Commit
c69b27bc
authored
Dec 18, 2019
by
nmilojevic1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add rubocop:disable PublicSend
parent
8645c763
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/gitlab/import_export/relation_factory.rb
lib/gitlab/import_export/relation_factory.rb
+2
-2
No files found.
lib/gitlab/import_export/relation_factory.rb
View file @
c69b27bc
...
...
@@ -135,8 +135,8 @@ module Gitlab
setter
=
"
#{
key
.
delete_suffix
(
'_id'
)
}
="
.
to_sym
next
unless
object
.
respond_to?
(
key
)
&&
object
.
respond_to?
(
setter
)
if
object
.
public_send
(
key
)
==
value
&
.
id
object
.
public_send
(
setter
,
value
)
if
object
.
public_send
(
key
)
==
value
&
.
id
# rubocop:disable GitlabSecurity/PublicSend
object
.
public_send
(
setter
,
value
)
# rubocop:disable GitlabSecurity/PublicSend
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment