Skip to content

Commit

Permalink
update copy file
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesPurvis committed Oct 18, 2024
1 parent 26adfb0 commit 38b5c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ffmpeg/transcoder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def transcode_movie
raise Error, "Process hung. Full output: #{@output}"
end
end
FileUtils.cp(temp_output_file, @output_file)
FileUtils.copy(temp_output_file, @output_file, preserve: true, verbose: true)
FileUtils.rm_rf(temp_output_file, secure: true)
end

Expand Down

0 comments on commit 38b5c56

Please sign in to comment.