feat: verify safe whitespace fixes before atomic writeback

This commit is contained in:
cflmy committed 2026-11-23 19:01:09 +08:00
1 parent 94c36270fa
commit 1f4e120a53
11 files changed
+416 -11

No files matched your search

+1 -1
View File
@@ -155,7 +155,7 @@ fn read_document(
}
}
fn project_root(entry: &Path) -> PathBuf {
pub(crate) fn project_root(entry: &Path) -> PathBuf {
let mut current = entry.parent().unwrap_or(Path::new("."));
loop {
if current.join("marqdo.yaml").is_file() {