Skip to content

Commit

Permalink
Fix Style/FileWrite rubocop in clouduploader module
Browse files Browse the repository at this point in the history
  • Loading branch information
krauselukas committed Jan 5, 2022
1 parent adfae3d commit a4f3e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/clouduploader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def upload
private

def write_result(result)
File.open(@result_path, "w+") { |file| file.write(result) }
File.write(@result_path, result)
end

def credentials
Expand Down

0 comments on commit a4f3e71

Please sign in to comment.