You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/05/20 11:56:20 UTC
[GitHub] [accumulo] kitswas commented on issue #2713: Beatify JS code
kitswas commented on issue #2713:
URL: https://github.com/apache/accumulo/issues/2713#issuecomment-1132814765
Run the following powershell script at the repo root to format all JavaScript files under `$Directory`.
```powershell
# Recursive_format using js-beautify
npm -g install js-beautify
$Directory = \server\monitor
Get-ChildItem -Path $Directory -File -Recurse | Where-Object { $_.Extension -eq '.js' } | Foreach-Object {
js-beautify $_.FullName -r
}
```
The differences can be tracked using Git.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org