refactor: change execution log from debug to info level

Changed the command execution logging from stderr debug message to stdout info message for better user experience.

- console.error -> console.log
- Removed [DEBUG] prefix
- Cleaner "Executing:" format

Co-Authored-By: claude-sonnet-4-6 <noreply@anthropic.com>
This commit is contained in:
DoSun 2026-05-20 14:15:08 +08:00
parent 6901484dd7
commit 9afae554eb

View File

@ -232,8 +232,8 @@ function getCloudRawArgs(): string[] {
async function runCsCloud(args: string[]): Promise<void> {
const bin = await ensureCsCloud()
// Print the exact command being executed for debugging
console.error(`[DEBUG] Executing: ${bin} ${args.join(" ")}`)
// Log the command being executed for transparency
console.log(`Executing: ${bin} ${args.join(" ")}`)
// Close stdin to prevent blocking, inherit stdout/stderr
const child = spawn(bin, args, {