Skip to content

Commit

Permalink
Merge pull request #12051 from krauselukas/linter/fix_style_filewrite
Browse files Browse the repository at this point in the history
Fix Style/FileWrite rubocop in clouduploader module
  • Loading branch information
vpereira committed Jan 5, 2022
2 parents adfae3d + a4f3e71 commit 124947a
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 124947a

Please sign in to comment.