Skip to content

Commit

Permalink
Fix rubocop violations
Browse files Browse the repository at this point in the history
  • Loading branch information
andrcuns committed Dec 27, 2021
1 parent 40ac0f9 commit b2dd591
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/allure_report_publisher/lib/uploaders/_uploader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,7 @@ def add_history
def add_executor_info
return unless ci_provider

File.open("#{results_path}/#{EXECUTOR_JSON}", "w") do |file|
file.write(ci_provider.executor_info.to_json)
end
File.write("#{results_path}/#{EXECUTOR_JSON}", ci_provider.executor_info.to_json)
end

# Run upload commands
Expand Down

0 comments on commit b2dd591

Please sign in to comment.