From a08ffe592c9f50d7f21605b454579860e1808721 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Thu, 19 Nov 2026 00:53:32 +0700 Subject: [PATCH] script: the unwritten-files error says it isn't the script's own Two merges crossed: one added RunError::authored, the other built a RunError for files a run couldn't write without it, so main stopped compiling. --- crates/engine/src/script/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/engine/src/script/mod.rs b/crates/engine/src/script/mod.rs index 14618a6108..d811da6e2e 100644 --- a/crates/engine/src/script/mod.rs +++ b/crates/engine/src/script/mod.rs @@ -2190,7 +2190,7 @@ impl Session { let unwritten = job.host.flush_files(); if !unwritten.is_empty() { let message = format!("{UNWRITTEN_FILES}: {}", unwritten.join(", ")); - let e = RunError { kind: RunErrorKind::Thrown, message, line: 0, column: 0 }; + let e = RunError { kind: RunErrorKind::Thrown, message, line: 0, column: 0, authored: false }; return self.script_failed(job, &e); } // The working copy goes into the session; `job.world` holds the state before the run.