@songsid/agend 2.1.2-beta.26 → 2.1.2-beta.27

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.
@@ -1019,7 +1019,10 @@ export class FleetManager {
1019
1019
  const eqIdx = trimmed.indexOf("=");
1020
1020
  if (eqIdx < 0)
1021
1021
  continue;
1022
- const key = trimmed.slice(0, eqIdx);
1022
+ // Accept `export KEY=value` the shell-style form people paste from their
1023
+ // .bashrc. Without this the variable landed in process.env under the key
1024
+ // "export KEY" and silently did nothing.
1025
+ const key = trimmed.slice(0, eqIdx).replace(/^export\s+/, "").trim();
1023
1026
  const raw = trimmed.slice(eqIdx + 1);
1024
1027
  const value = raw.replace(/^["'](.*)["']$/, '$1');
1025
1028
  // .env file always wins over inherited shell env vars, so that