Skip to content

Commit f64dca1

Browse files
fgrandeFabio Grande
andauthored
Removed Underscores on variables (#2603)
Co-authored-by: Fabio Grande <[email protected]>
1 parent b5b9e54 commit f64dca1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

packages/bruno-electron/src/ipc/collection.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -536,10 +536,10 @@ const registerRendererEventHandlers = (mainWindow, watcher, lastOpenedCollection
536536

537537
// If folder has a root element, then I should write its folder.bru file
538538
if (item.root) {
539-
const _folderContent = jsonToCollectionBru(item.root, true);
540-
if (_folderContent) {
541-
const _folderPath = path.join(folderPath, `folder.bru`);
542-
fs.writeFileSync(_folderPath, _folderContent);
539+
const folderContent = jsonToCollectionBru(item.root, true);
540+
if (folderContent) {
541+
const bruFolderPath = path.join(folderPath, `folder.bru`);
542+
fs.writeFileSync(bruFolderPath, folderContent);
543543
}
544544
}
545545

@@ -554,10 +554,10 @@ const registerRendererEventHandlers = (mainWindow, watcher, lastOpenedCollection
554554

555555
// If initial folder has a root element, then I should write its folder.bru file
556556
if (itemFolder.root) {
557-
const _folderContent = jsonToCollectionBru(itemFolder.root, true);
558-
if (_folderContent) {
559-
const _folderPath = path.join(collectionPath, `folder.bru`);
560-
fs.writeFileSync(_folderPath, _folderContent);
557+
const folderContent = jsonToCollectionBru(itemFolder.root, true);
558+
if (folderContent) {
559+
const bruFolderPath = path.join(collectionPath, `folder.bru`);
560+
fs.writeFileSync(bruFolderPath, folderContent);
561561
}
562562
}
563563

0 commit comments

Comments
 (0)