From f64dca16a7d2bc82c1a548a94e8c21618bbe04c1 Mon Sep 17 00:00:00 2001 From: Fabio GRANDE Date: Wed, 10 Jul 2024 09:28:19 +0200 Subject: [PATCH] Removed Underscores on variables (#2603) Co-authored-by: Fabio Grande --- packages/bruno-electron/src/ipc/collection.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/bruno-electron/src/ipc/collection.js b/packages/bruno-electron/src/ipc/collection.js index 7928bcaa1..2233f81bc 100644 --- a/packages/bruno-electron/src/ipc/collection.js +++ b/packages/bruno-electron/src/ipc/collection.js @@ -536,10 +536,10 @@ const registerRendererEventHandlers = (mainWindow, watcher, lastOpenedCollection // If folder has a root element, then I should write its folder.bru file if (item.root) { - const _folderContent = jsonToCollectionBru(item.root, true); - if (_folderContent) { - const _folderPath = path.join(folderPath, `folder.bru`); - fs.writeFileSync(_folderPath, _folderContent); + const folderContent = jsonToCollectionBru(item.root, true); + if (folderContent) { + const bruFolderPath = path.join(folderPath, `folder.bru`); + fs.writeFileSync(bruFolderPath, folderContent); } } @@ -554,10 +554,10 @@ const registerRendererEventHandlers = (mainWindow, watcher, lastOpenedCollection // If initial folder has a root element, then I should write its folder.bru file if (itemFolder.root) { - const _folderContent = jsonToCollectionBru(itemFolder.root, true); - if (_folderContent) { - const _folderPath = path.join(collectionPath, `folder.bru`); - fs.writeFileSync(_folderPath, _folderContent); + const folderContent = jsonToCollectionBru(itemFolder.root, true); + if (folderContent) { + const bruFolderPath = path.join(collectionPath, `folder.bru`); + fs.writeFileSync(bruFolderPath, folderContent); } }