Skip to content

Commit

Permalink
Merge pull request #3598 from Pragadesh-45/feat/folder-recursive-rena…
Browse files Browse the repository at this point in the history
…me-win32

bugfix/folder recursive rename win32 (fixes: #3597) updates: #3236
  • Loading branch information
lohxt1 authored Dec 5, 2024
2 parents 915ebf3 + 52e0193 commit 5e5656d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bruno-electron/src/ipc/collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5e5656d

Please sign in to comment.