Fix error in Azure DevOps. Refactor code for Linux and MacOS
Fix error in Azure DevOps.
Refactor code for Linux and MacOS

beautify-web/js-beautify,bitwiseman/js-beautify,beautify-web/js-beautify,bitwiseman/js-beautify,bitwiseman/js-beautify,bitwiseman/js-beautify,beautify-web/js-beautify,beautify-web/js-beautify