diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-17 14:56:44 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-17 14:56:44 +0800 |
| commit | 2e11849a23de0533b172fe2bb057fc3553a36cc1 (patch) | |
| tree | dedbb6e269198f3d9039e5a5024964e5d995b7a8 /src/bin/jvn.rs | |
| parent | 775b3613f3ece75f7673ea1be6b6ec420c2bb76b (diff) | |
Handle early command output in prepare phase
Diffstat (limited to 'src/bin/jvn.rs')
| -rw-r--r-- | src/bin/jvn.rs | 6 |
1 files changed, 6 insertions, 0 deletions
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) + } } } |
