From 55f427aa4d9519cb656e670bf1cefa7deb285991 Mon Sep 17 00:00:00 2001 From: JianBo He Date: Mon, 20 Mar 2023 09:55:25 +0800 Subject: [PATCH] chore: ignore chekcing nl-at-eof for *.jks files --- scripts/check-nl-at-eof.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/check-nl-at-eof.sh b/scripts/check-nl-at-eof.sh index 88f8f9c2e..8ca110c81 100755 --- a/scripts/check-nl-at-eof.sh +++ b/scripts/check-nl-at-eof.sh @@ -16,6 +16,9 @@ nl_at_eof() { scripts/erlfmt) return ;; + *.jks) + return + ;; esac local lastbyte lastbyte="$(tail -c 1 "$file" 2>&1)"