@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.cjs CHANGED
@@ -1152,6 +1152,10 @@ var Args = class _Args {
1152
1152
  this.parseArgs(args);
1153
1153
  this.env = this.get("env")?.toLowerCase() || "local";
1154
1154
  this.loadDotEnv();
1155
+ const envAfterDotEnv = this.get("env")?.toLowerCase();
1156
+ if (envAfterDotEnv) {
1157
+ this.env = envAfterDotEnv;
1158
+ }
1155
1159
  this.loadConfigFiles();
1156
1160
  this.checkConflicts();
1157
1161
  if (context && typeof context.registerCleanup === "function") {