From 10d6a9a0dff6d6dab3410641f4c231f44f267245 Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Wed, 17 Dec 2025 12:19:22 +0800 Subject: Add workspace root directory validation for sheet commands - Add new error message for non-root directory execution - Validate current directory in sheet use/exit commands - Add directory correction helper for other commands - Return Result from jv_sheet_exit to handle validation failures --- locales/help_docs/en.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'locales/help_docs/en.yml') diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml index 237b507..70b0b1c 100644 --- a/locales/help_docs/en.yml +++ b/locales/help_docs/en.yml @@ -517,6 +517,8 @@ jv: current_dir_name: Failed to get current directory name set_current_dir: Failed to set current directory to %{dir} + not_root_dir: This command needs to be execute in the workspace root directory! + move: rename_failed: | **Warning**: Failed to move local file `%{from}` to `%{to}`: %{error} -- cgit