From 2f9b9c0842ab7733ee1b77655ce3346ac5121098 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 17 May 2026 15:22:11 -0500 Subject: [PATCH] [studio] Fix change-format to only write data portion once --- .../applib/src/subcommands/change-format/change-format.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/olympic/studio/applib/src/subcommands/change-format/change-format.cpp b/src/olympic/studio/applib/src/subcommands/change-format/change-format.cpp index 5f23b834..1fc5ce40 100644 --- a/src/olympic/studio/applib/src/subcommands/change-format/change-format.cpp +++ b/src/olympic/studio/applib/src/subcommands/change-format/change-format.cpp @@ -26,7 +26,6 @@ static ox::Error convertFile( if (fmt == ox::ClawFormat::Organic) { *buff.back().value = '\n'; } - OX_RETURN_ERROR(writer.write(buff.data(), buff.size())); OX_RETURN_ERROR(fs.write(path, buff).reoriginate(1, "unable to write file")); return {}; }