From 2e11849a23de0533b172fe2bb057fc3553a36cc1 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 17 Mar 2026 14:56:44 +0800 Subject: Handle early command output in prepare phase --- src/bin/jvn.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/bin') diff --git a/src/bin/jvn.rs b/src/bin/jvn.rs index b051c51..062eab8 100644 --- a/src/bin/jvn.rs +++ b/src/bin/jvn.rs @@ -279,6 +279,12 @@ fn handle_prepare_error(cmd_prepare_error: CmdPrepareError) { CmdPrepareError::NoSheetInUse => { eprintln!("{}", md(t!("prepare_error.no_sheet_in_use"))); } + CmdPrepareError::EarlyOutput(_) => { + // Early output is not an error + // No additional handling needed, + // this result has already been captured in `crate::systems::cmd::cmd_system.rs` + exit(0) + } } } -- cgit