From c067876aba593e2f120721df58060d06f0e70838 Mon Sep 17 00:00:00 2001 From: anlicheng <244108715@qq.com> Date: Fri, 30 Aug 2024 16:08:43 +0800 Subject: [PATCH] fix --- apps/iot/src/iot_env.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/iot/src/iot_env.erl b/apps/iot/src/iot_env.erl index 8bf2711..24f95b6 100644 --- a/apps/iot/src/iot_env.erl +++ b/apps/iot/src/iot_env.erl @@ -46,7 +46,7 @@ get_value(Key, Default) when is_atom(Key) -> Val end. --spec load_env() -> [binary()]. +-spec load_env() -> list(). load_env() -> Dir = code:priv_dir(iot), EnvFile = Dir ++ "/env.config",