diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2025-12-16 09:25:23 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2025-12-16 09:25:23 +0800 |
| commit | c1bfc4edd9d8006cc2e29be5731cfd929f27637d (patch) | |
| tree | 813ab34a668e2c893e33e3ee3c4cd88b4754b73e | |
| parent | f2678685cad1d9357c34b2dce41faa3762b53776 (diff) | |
Skip missing files in sheet align operation
When aligning sheet files, skip any source files that don't exist
instead of failing the entire operation.
| -rw-r--r-- | src/bin/jv.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/jv.rs b/src/bin/jv.rs index 0199c0b..a9f8033 100644 --- a/src/bin/jv.rs +++ b/src/bin/jv.rs @@ -2630,6 +2630,11 @@ async fn jv_sheet_align(args: SheetAlignArgs) { }; let from = local_dir.join(&path); + + if !from.exists() { + continue; + } + let to = local_dir .join(CLIENT_FOLDER_WORKSPACE_ROOT_NAME) .join(".temp") |
