Commit fac67aa
fix: address code review feedback for VSCode extension
Security fixes:
- Replace exec with spawn in analyzeCommand to prevent command injection
- Use argument array instead of string interpolation for process spawning
Bug fixes:
- Assign extensionContext in activate() for restart functionality
- Use cross-platform path (os.tmpdir()) for debug logs on Windows
Improvements:
- Implement actual validation logic in validateCommand
- Display diagnostic counts after validation
- Add basic test coverage with Mocha
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 64f21a7 commit fac67aa
6 files changed
Lines changed: 1411 additions & 123 deletions
File tree
- vscode-extension
- src
- test
- suite
0 commit comments