@qodalis/cli-files 2.0.0-beta.19 → 2.0.0-beta.20

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.
@@ -2905,7 +2905,7 @@ var files = (() => {
2905
2905
  };
2906
2906
 
2907
2907
  // src/lib/version.ts
2908
- var LIBRARY_VERSION = "2.0.0-beta.19";
2908
+ var LIBRARY_VERSION = "2.0.0-beta.20";
2909
2909
  var API_VERSION2 = 2;
2910
2910
 
2911
2911
  // src/lib/interfaces/i-file-system-service.ts
@@ -3484,8 +3484,10 @@ var files = (() => {
3484
3484
  const tx = db.transaction(STORE_NAME, "readwrite");
3485
3485
  const store = tx.objectStore(STORE_NAME);
3486
3486
  store.put(this.root, ROOT_KEY);
3487
- store.put(this.cwd, CWD_KEY);
3488
- store.put(this.homePath, HOME_KEY);
3487
+ if (!this.currentUid) {
3488
+ store.put(this.cwd, CWD_KEY);
3489
+ store.put(this.homePath, HOME_KEY);
3490
+ }
3489
3491
  await new Promise((resolve, reject) => {
3490
3492
  tx.oncomplete = () => resolve();
3491
3493
  tx.onerror = () => reject(tx.error);