You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
embark.logger.warn("The environment variable MYTHX_ETH_ADDRESS has been deprecated in favour of MYTHX_USERNAME and will be removed in future versions. Please update your .env file or your environment variables accordingly.");
thrownewError("Environment variables 'MYTHX_USERNAME' and 'MYTHX_PASSWORD' not found. Place these in a .env file in the root of your ÐApp, add them in the CLI command, ie 'MYTHX_USERNAME=xyz MYTHX_PASSWORD=123 embark run', or add them to your system's environment variables.");
21
+
}
22
+
}
23
+
12
24
asyncfunctionanalyse(contracts,cfg,embark){
13
25
14
26
cfg.logger=embark.logger
@@ -25,15 +37,7 @@ async function analyse(contracts, cfg, embark) {
embark.logger.warn("The environment variable MYTHX_ETH_ADDRESS has been deprecated in favour of MYTHX_USERNAME and will be removed in future versions. Please update your .env file or your environment variables accordingly.");
thrownewError("Environment variables 'MYTHX_USERNAME' and 'MYTHX_PASSWORD' not found. Place these in a .env file in the root of your ÐApp, add them in the CLI command, ie 'MYTHX_USERNAME=xyz MYTHX_PASSWORD=123 embark run', or add them to your system's environment variables.");
36
-
}
40
+
checkEnvVariables(embark);
37
41
38
42
constarmletClient=newarmlet.Client(
39
43
{
@@ -83,16 +87,20 @@ async function analyse(contracts, cfg, embark) {
0 commit comments