summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuele Torre <torreemanuele6@gmail.com>2021-03-08 00:24:05 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-08 09:20:53 +0100
commit26c4cae77c3d88e70edc7bf09b71954e748b8242 (patch)
tree083aa695c783e64e2b976bee6490c9e34cfa309b
parentdd17ec180f04e1d334f5b535f6567a89df5f24d8 (diff)
downloadserenity-26c4cae77c3d88e70edc7bf09b71954e748b8242.zip
Meta: check-newlines-at-eof.py now checks .json files and files in Base/
This makes it also check man pages and keymap files. :^)
-rwxr-xr-xMeta/check-newlines-at-eof.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Meta/check-newlines-at-eof.py b/Meta/check-newlines-at-eof.py
index 37810c47c8..2d6897cb0b 100755
--- a/Meta/check-newlines-at-eof.py
+++ b/Meta/check-newlines-at-eof.py
@@ -17,9 +17,10 @@ files = subprocess.run(
"*.css",
"*.sh",
"*.py",
+ "*.json",
"CMake*.txt",
"**/CMake*.txt",
- ":!:Base",
+ ":!:AK/Tests/*.json",
":!:Kernel/FileSystem/ext2_fs.h",
":!:Userland/Libraries/LibELF/exec_elf.h"
],