diff --git a/packages/bruno-electron/src/ipc/collection.js b/packages/bruno-electron/src/ipc/collection.js index 38261cdb7..130228797 100644 --- a/packages/bruno-electron/src/ipc/collection.js +++ b/packages/bruno-electron/src/ipc/collection.js @@ -372,7 +372,7 @@ const registerRendererEventHandlers = (mainWindow, watcher, lastOpenedCollection await fsExtra.move(tempDir, newPath, { overwrite: true }); await fsExtra.remove(oldPath); } else { - await fs.rename(oldPath, newPath); + await fs.renameSync(oldPath, newPath); } return newPath; }