From e5bf304b47ebefc377bb596edcdd4c81d60dc85f Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 24 Oct 2022 01:58:59 +0300 Subject: [PATCH 53/53] trailing_spaces.sh: Check more files Added "*.lua", "*.modpack", "*.serv", and "*.txt" There already was "README*" but it didn't catch all .txt cases See osdn #45804 Signed-off-by: Marko Lindqvist --- tests/trailing_spaces.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/trailing_spaces.sh b/tests/trailing_spaces.sh index 5f85b8d457..cbb489a115 100755 --- a/tests/trailing_spaces.sh +++ b/tests/trailing_spaces.sh @@ -3,6 +3,10 @@ files=$(find $1 -name "*.ruleset" \ -o -name "*.tileset" \ -o -name "*.spec" \ + -o -name "*.lua" \ + -o -name "*.modpack" \ + -o -name "*.serv" \ + -o -name "*.txt" \ -o -name "README*" | sort) echo "# Check for trailing spaces:" -- 2.35.1