bloby-bot 0.18.3 → 0.18.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bloby-bot",
3
- "version": "0.18.3",
3
+ "version": "0.18.5",
4
4
  "releaseNotes": [
5
5
  "1. react router implemented",
6
6
  "2. new workspace design",
@@ -592,7 +592,9 @@ ${!connected ? '<script>setTimeout(()=>location.reload(),4000)</script>' : ''}
592
592
  lines = fs.readFileSync(envPath, 'utf-8').split('\n');
593
593
  }
594
594
 
595
- for (const [key, value] of Object.entries(vars)) {
595
+ for (const [rawKey, rawValue] of Object.entries(vars)) {
596
+ const key = rawKey.trim();
597
+ const value = typeof rawValue === 'string' ? rawValue.trim() : rawValue;
596
598
  // Find existing line for this key (supports KEY=val, KEY="val", KEY='val')
597
599
  const idx = lines.findIndex((l) => {
598
600
  const trimmed = l.trim();