style: auto-fix ESLint issues (curly braces and formatting)
- Add curly braces to all if/else/for/while statements - Fix indentation and trailing spaces - Auto-fixed 372 linting errors using eslint --fix - Remaining issues are warnings only (non-null assertions, explicit any types)
This commit is contained in:
@@ -32,9 +32,9 @@ export function createProcessStatusTool(manager: ProcessManager): Tool {
|
||||
info += `PID: ${proc.pid}\n`;
|
||||
info += `Status: ${proc.status}\n`;
|
||||
info += `Uptime: ${uptime}\n`;
|
||||
if (proc.exitCode !== undefined) info += `Exit code: ${proc.exitCode}\n`;
|
||||
if (proc.errorMessage) info += `Error: ${proc.errorMessage}\n`;
|
||||
if (proc.cwd) info += `CWD: ${proc.cwd}\n`;
|
||||
if (proc.exitCode !== undefined) {info += `Exit code: ${proc.exitCode}\n`;}
|
||||
if (proc.errorMessage) {info += `Error: ${proc.errorMessage}\n`;}
|
||||
if (proc.cwd) {info += `CWD: ${proc.cwd}\n`;}
|
||||
|
||||
return { success: true, output: info.trimEnd() };
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user