refactor: Refactored some bundle const locations

This commit is contained in:
2026-08-24 11:15:13 -06:00
parent 6b5535956d
commit 30c1637dff
5 changed files with 105 additions and 16 deletions
+2 -2
View File
@@ -165,9 +165,9 @@ pub(crate) fn write_file_atomic(
std::process::id(),
TMP_COUNTER.fetch_add(1, Ordering::Relaxed)
));
let write_synced = || -> std::io::Result<()> {
let write_synced = || -> io::Result<()> {
use std::io::Write;
let mut file = fs::File::create(&tmp)?;
let mut file = File::create(&tmp)?;
file.write_all(content.as_bytes())?;
file.sync_all()
};