diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-08-29 07:27:35 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-08-29 07:27:35 +0000 |
commit | e599281e419bd583e5c9949ea49faa215231143b (patch) | |
tree | 0e698e92c3c7abba99abbe345694d6c537f59a8e /lib | |
parent | 6f0f65becbbe968bd26a5a3872044d7b8633bf2e (diff) | |
parent | bed27b6a6d1fea22596ca8e643686c8aa61fa65d (diff) | |
download | gitlab-ce-e599281e419bd583e5c9949ea49faa215231143b.tar.gz |
Merge branch 'rs-update-rubocop-gitlab-security' into 'master'
Update rubocop-gitlab-security to 0.1.0
See merge request !13879
Diffstat (limited to 'lib')
-rw-r--r-- | lib/after_commit_queue.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/after_commit_queue.rb b/lib/after_commit_queue.rb index b67575a3ac2..4750a2c373a 100644 --- a/lib/after_commit_queue.rb +++ b/lib/after_commit_queue.rb @@ -7,7 +7,7 @@ module AfterCommitQueue end def run_after_commit(method = nil, &block) - _after_commit_queue << proc { self.send(method) } if method + _after_commit_queue << proc { self.send(method) } if method # rubocop:disable GitlabSecurity/PublicSend _after_commit_queue << block if block true end |