@nmakarov/cli-toolkit 0.55.0 → 0.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/init.js CHANGED
@@ -1127,6 +1127,10 @@ var Args = class _Args {
1127
1127
  this.parseArgs(args);
1128
1128
  this.env = this.get("env")?.toLowerCase() || "local";
1129
1129
  this.loadDotEnv();
1130
+ const envAfterDotEnv = this.get("env")?.toLowerCase();
1131
+ if (envAfterDotEnv) {
1132
+ this.env = envAfterDotEnv;
1133
+ }
1130
1134
  this.loadConfigFiles();
1131
1135
  this.checkConflicts();
1132
1136
  if (context && typeof context.registerCleanup === "function") {