You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2020/08/29 10:00:19 UTC

[GitHub] [nifi-minifi-cpp] hunyadi-dev opened a new pull request #883: MINIFICPP-1203 - Correct linter reported inccorrect opening brace placement

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


   This PR branched off from the WIP #851, checked for linter errors and then corrected the currently most prevalent (opening brace not on new line).
   
   Script used:
   ```bash
   make linter |& egrep -v '^Done processing|^Ignoring' | grep "{ should almost always" | tr ":" " " | cut -d" " -f1,2 | sort -rn -k1 -k2 | xargs -n 2 sh -c 'sed -i "" "$2s/[[:blank:]]*{/{/" $1 && perl -pi -e "s/\\n/ / if $. == $2 - 1" $1' sh
   ```
   
   This was run repeatedly until no more errors were present.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [nifi-minifi-cpp] szaszm closed pull request #883: MINIFICPP-1203 - Correct linter reported inccorrect opening brace placement

Posted by GitBox <gi...@apache.org>.
szaszm closed pull request #883:
URL: https://github.com/apache/nifi-minifi-cpp/pull/883


   


----------------------------------------------------------------
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:
users@infra.apache.org