fix(githook.ts): update error message to include command example for better user guidance
This commit is contained in:
@@ -94,7 +94,7 @@ export const hookCommand = command(
|
|||||||
}
|
}
|
||||||
|
|
||||||
throw new Error(
|
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) {
|
} catch (error) {
|
||||||
outro(`${chalk.red('✖')} ${error}`);
|
outro(`${chalk.red('✖')} ${error}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user