You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: simplify stdout/stderr handling with optional chaining
Replace verbose ternary chains and type checks for stdout/stderr with
cleaner optional chaining and nullish coalescing operators.
Changes:
- Use `stdout?.toString() ?? ''` instead of complex type checks
- Consistent pattern across all spawn/subprocess utilities
- Applies to utils (dlx, shadow, coana, python, process, ecosystem)
- Updates console command and bootstrap tests
- Updates lint script error handling
No functional changes, just cleaner and more consistent code.
0 commit comments