Merge pull request #4082 from leoetlino/unneeded-awk
Tools: Fix lint by removing unneeded awk
This commit is contained in:
commit
3683840602
|
@ -10,6 +10,7 @@
|
|||
#include <thread>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <curl/curlver.h>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
fail=0
|
||||
|
||||
# Check for clang-format issues.
|
||||
for f in $(git diff --name-only --diff-filter=ACMRTUXB | awk '{print $2}'); do
|
||||
for f in $(git diff --name-only --diff-filter=ACMRTUXB); do
|
||||
if ! echo "${f}" | egrep -q "[.](cpp|h|mm)$"; then
|
||||
continue
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue