Browse Source

chore(erlfmt): make the erlfmt happy

Shawn 3 năm trước cách đây
mục cha
commit
4b7d9b7239
1 tập tin đã thay đổi với 2 bổ sung4 xóa
  1. 2 4
      apps/emqx_connector/src/emqx_connector_ssl.erl

+ 2 - 4
apps/emqx_connector/src/emqx_connector_ssl.erl

@@ -35,10 +35,8 @@ clear_certs(RltvDir, Config) ->
     ok = emqx_tls_lib:delete_ssl_files(RltvDir, undefined, OldSSL).
 
 new_ssl_config(Config, undefined) -> Config;
-new_ssl_config(Config, #{<<"enable">> := _} = SSL) ->
-    Config#{<<"ssl">> => SSL};
-new_ssl_config(Config, #{enable := _} = SSL) ->
-    Config#{ssl => SSL}.
+new_ssl_config(Config, #{<<"enable">> := _} = SSL) -> Config#{<<"ssl">> => SSL};
+new_ssl_config(Config, #{enable := _} = SSL) -> Config#{ssl => SSL}.
 
 drop_invalid_certs(undefined) -> undefined;
 drop_invalid_certs(SSL) -> emqx_tls_lib:drop_invalid_certs(SSL).