From 401be04b4db639b77b35656a0d5f0aed88d61fe4 Mon Sep 17 00:00:00 2001 From: di-sukharev Date: Sun, 3 Mar 2024 19:58:23 +0800 Subject: [PATCH] fix(githook.ts): update error message to include command example for better user guidance --- src/commands/githook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/githook.ts b/src/commands/githook.ts index f066a6a..d771058 100755 --- a/src/commands/githook.ts +++ b/src/commands/githook.ts @@ -94,7 +94,7 @@ export const hookCommand = command( } throw new Error( - `Unsupported mode: ${mode}. Supported modes are: 'set' or 'unset'` + `Unsupported mode: ${mode}. Supported modes are: 'set' or 'unset', do: \`oco hook set\`` ); } catch (error) { outro(`${chalk.red('✖')} ${error}`);