hunyadi-dev opened a new pull request #884:
URL: https://github.com/apache/nifi-minifi-cpp/pull/884


   This PR branched off from the WIP #851, checked for linter errors and then 
corrected two of the currently most prevalent ones (missing space before // and 
missing whitespace between code and comment).
   
   Script used:
   ```bash
   make linter |& egrep -v '^Done processing|^Ignoring' | grep "At least two 
spaces is best between code and comments" | tr ":" " " | cut -d" " -f1,2 | sort 
-rn -k1 -k2 | xargs -n 2 sh -c 'sed -i "" "$2s;//;  //;" $1 && sed -i "" "$2s;  
 //;  //;" $1' sh
   make linter |& egrep -v '^Done processing|^Ignoring' | grep "Should have a 
space between // and comment" | tr ":" " " | cut -d" " -f1,2 | sort -rn -k1 -k2 
| xargs -n 2 sh -c 'sed -i "" "$2s;//;// ;" $1' sh
   ```
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to