Fix new rubocop warnings
This commit is contained in:
parent
c6587706e6
commit
fea1b5b88d
11 changed files with 41 additions and 27 deletions
|
@ -101,7 +101,7 @@ module Api
|
|||
filename = "/tmp/#{rand}"
|
||||
|
||||
# ...and save the uploaded file to that location
|
||||
File.open(filename, "wb") { |f| f.write(file.read) }
|
||||
File.binwrite(filename, file.read)
|
||||
|
||||
# Create the trace object, falsely marked as already
|
||||
# inserted to stop the import daemon trying to load it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue