Merge pull request #11804 from savonarola/1023-friendly-profile-error

chore(tests): report more friendly about unset PROFILE variable
This commit is contained in:
Zaiming (Stone) Shi 2023-10-23 15:03:21 +02:00 committed by GitHub
commit c2d0b91cd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

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