Skip to content

Commit

Permalink
Fix Style/BlockDelimiters offense
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala committed Apr 21, 2024
1 parent 47e7f9c commit ef03fcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
10 changes: 0 additions & 10 deletions .rubocop_todo.yml

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

4 changes: 2 additions & 2 deletions lib/sharepoint/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def documents_for(path, site_path = '')
date_of_issue: nil
)

threads << Thread.new {
threads << Thread.new do
ethon2 = ethon_easy_json_requester
server_relative_url = "#{site_path}#{path}/#{file['Name']}"
ethon2.url = "#{computed_web_api_url(site_path)}GetFileByServerRelativeUrl('#{uri_escape server_relative_url}')/ListItemAllFields"
Expand All @@ -63,7 +63,7 @@ def documents_for(path, site_path = '')
file_struct.date_of_issue = rs['Date_of_issue']

rv << file_struct
}
end
end
threads.each { |t| t.join }
rv
Expand Down

0 comments on commit ef03fcb

Please sign in to comment.