Skip to content

Commit

Permalink
WIP: Add hard check that temp files are unkinked
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Nov 10, 2024
1 parent 9228bfc commit e0ef408
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/aruba/processes/spawn_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ def read_temporary_output_file(file)
data = file.read
file.close
file.unlink
raise "Unlink failed!" unless file.path.nil?

data.force_encoding('UTF-8')
end
Expand Down

0 comments on commit e0ef408

Please sign in to comment.