mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-28 12:58:05 +03:00
Tools: Fix lint by removing unneeded awk
git diff --name-only already took care of only returning the name, so the awk is unneeded and makes it return only empty file names. Facepalm, I know. Sorry for this oversight. (Also fixes something that lint didn't catch because of this)
This commit is contained in:
parent
c3b932c46e
commit
cbb77532c6
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue