Просмотр исходного кода

chore: make nl check script happy

Zaiming (Stone) Shi 3 лет назад
Родитель
Сommit
8faa9d8358
3 измененных файлов с 7 добавлено и 2 удалено
  1. 2 1
      changes/v5.0.10-en.md
  2. 2 1
      changes/v5.0.10-zh.md
  3. 3 0
      scripts/check-nl-at-eof.sh

+ 2 - 1
changes/v5.0.10-en.md

@@ -41,4 +41,5 @@
 
 - Align documentation for `/authentication/sources` with what we actually send [9299](https://github.com/emqx/emqx/pull/9299).
 
-- Fix query string parameter 'node' to `/configs` resource being ignored, return 404 if node does not exist [#9310](https://github.com/emqx/emqx/pull/9310/).
+- Fix query string parameter 'node' to `/configs` resource being ignored, return 404 if node does not exist [#9310](https://github.com/emqx/emqx/pull/9310/).
+

+ 2 - 1
changes/v5.0.10-zh.md

@@ -40,4 +40,5 @@
 
 - 对齐文档,`/authentication/sources` 接口的文档仅列出已经支持的资源 [9299](https://github.com/emqx/emqx/pull/9299)。
 
-- 修复 `/configs` API 的 'node' 参数的问题,如果节点不存在,则返回 HTTP 状态码 404 [#9310](https://github.com/emqx/emqx/pull/9310/)。
+- 修复 `/configs` API 的 'node' 参数的问题,如果节点不存在,则返回 HTTP 状态码 404 [#9310](https://github.com/emqx/emqx/pull/9310/)。
+

+ 3 - 0
scripts/check-nl-at-eof.sh

@@ -13,6 +13,9 @@ nl_at_eof() {
         *.png|*rebar3)
             return
             ;;
+        scripts/erlfmt)
+            return
+            ;;
     esac
     local lastbyte
     lastbyte="$(tail -c 1 "$file" 2>&1)"