Skip to content

Commit

Permalink
avoid appending on existing file
Browse files Browse the repository at this point in the history
  • Loading branch information
Yangff committed Feb 19, 2024
1 parent 8af3144 commit 6b49b6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ namespace RC::Output
{
if (m_always_create_file)
{
m_file = File::open(m_file_name_and_path, File::OpenFor::Appending, File::OverwriteExistingFile::Yes, File::CreateIfNonExistent::Yes);
m_file = File::open(m_file_name_and_path, File::OpenFor::Writing, File::OverwriteExistingFile::Yes, File::CreateIfNonExistent::Yes);
}
else
{
Expand Down

0 comments on commit 6b49b6c

Please sign in to comment.