Skip to content

Commit

Permalink
Autofix safe Style/ClassCheck offense
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala committed Apr 20, 2024
1 parent 68391d0 commit 7bce2d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions .rubocop_todo.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/sharepoint/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ def string_not_blank?(object)
def valid_config_uri?
if @config.uri and @config.uri.is_a? String
uri = URI.parse(@config.uri)
uri.kind_of?(URI::HTTP) || uri.kind_of?(URI::HTTPS)
uri.is_a?(URI::HTTP) || uri.is_a?(URI::HTTPS)
else
false
end
Expand Down

0 comments on commit 7bce2d5

Please sign in to comment.