From f93d650708a90bc593ad09ad7090e512f6043f02 Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Sun, 12 Jun 2022 21:34:14 +0800 Subject: [PATCH] Fix typos --- doc/README-zh.md | 2 +- tests/scripts/license-checks.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/README-zh.md b/doc/README-zh.md index b41e2842..2cdc039e 100644 --- a/doc/README-zh.md +++ b/doc/README-zh.md @@ -550,7 +550,7 @@ bat --generate-config-file # 在终端中以斜体输出文本(不是所有终端都支持) --italic-text=always -# 使用 C++ 语法来给 Ardiuno 的 .ino 文件提供高亮 +# 使用 C++ 语法来给 Arduino 的 .ino 文件提供高亮 --map-syntax "*.ino:C++" ``` diff --git a/tests/scripts/license-checks.sh b/tests/scripts/license-checks.sh index 4de9f2b0..21365084 100755 --- a/tests/scripts/license-checks.sh +++ b/tests/scripts/license-checks.sh @@ -18,7 +18,7 @@ gpl_occurances=$(git grep --recurse-submodules "${gpl_term}" -- "${gpl_excludes[ if [ -z "${gpl_occurances}" ]; then echo "PASS: No files under GPL were found" else - echo "FAIL: GPL:ed code is not compatible with bat, but occurances of '${gpl_term}' were found:" + echo "FAIL: GPL:ed code is not compatible with bat, but occurrences of '${gpl_term}' were found:" echo "${gpl_occurances}" exit 1 fi