fix(copilot): refine ownership checks and command error handling

This commit is contained in:
Tam Nhu Tran
2026-03-04 17:18:44 +07:00
parent 1fd128e50f
commit 930d66fc0d
6 changed files with 27 additions and 39 deletions
+2 -1
View File
@@ -49,7 +49,8 @@ export async function handleCopilotCommand(args: string[]): Promise<number> {
default:
console.error(fail(`Unknown subcommand: ${subcommand}`));
console.error('');
return handleHelp();
handleHelp();
return 1;
}
}