Kaynağa Gözat

chore: make nl check script happy

Zaiming (Stone) Shi 3 yıl önce
ebeveyn
işleme
8faa9d8358

+ 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).
 - 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)。
 - 对齐文档,`/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)
         *.png|*rebar3)
             return
             return
             ;;
             ;;
+        scripts/erlfmt)
+            return
+            ;;
     esac
     esac
     local lastbyte
     local lastbyte
     lastbyte="$(tail -c 1 "$file" 2>&1)"
     lastbyte="$(tail -c 1 "$file" 2>&1)"