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:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user