Skip to content

Commit

Permalink
Merge pull request #33 from ifad/chore/prefer-is-a
Browse files Browse the repository at this point in the history
Autofix safe Style/ClassCheck offense
  • Loading branch information
tagliala authored Apr 20, 2024
2 parents 68391d0 + 7bce2d5 commit 9fe05d3
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 9fe05d3

Please sign in to comment.