chore(tests): report more friendly about unset PROFILE variable

This commit is contained in:
Ilya Averyanov 2023-10-23 13:48:42 +03:00
parent 541081e10e
commit 8c6f6b56b8
1 changed files with 3 additions and 1 deletions

View File

@ -219,7 +219,9 @@ resolve_schema_module() ->
"emqx" ->
emqx_conf_schema;
"emqx-enterprise" ->
emqx_enterprise_schema
emqx_enterprise_schema;
false ->
error("PROFILE environment variable is not set")
end.
-else.
-spec resolve_schema_module() -> no_return().