Skip to content

Commit

Permalink
Fix rubocop offense
Browse files Browse the repository at this point in the history
  • Loading branch information
NARKOZ committed Jul 6, 2020
1 parent a4d1c5d commit e1eb5c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/gitlab.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def self.http_proxy(address = nil, port = nil, username = nil, password = nil)
#
# @return [Array<Symbol>]
def self.actions
hidden = /endpoint|private_token|auth_token|user_agent|sudo|get|post|put|\Adelete\z|validate\z|request_defaults|httparty/
hidden =
/endpoint|private_token|auth_token|user_agent|sudo|get|post|put|\Adelete\z|validate\z|request_defaults|httparty/
(Gitlab::Client.instance_methods - Object.methods).reject { |e| e[hidden] }
end
end

0 comments on commit e1eb5c4

Please sign in to comment.