Refactor user-message-hook.js and worker-utils.ts for improved logging and Windows compatibility

- Enhanced logging functionality in user-message-hook.js to include better formatting and error handling.
- Updated worker-utils.ts to escape single quotes in PowerShell commands and added checks for global PM2 installation.
- Improved readability and maintainability of the code by restructuring and clarifying variable names.
This commit is contained in:
Alex Newman
2025-12-09 16:21:29 -05:00
parent c2015c4dfc
commit f992251c32
8 changed files with 95 additions and 46 deletions
File diff suppressed because one or more lines are too long