mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-24 17:03:47 +01:00
Removed Underscores on variables (#2603)
Co-authored-by: Fabio Grande <fabio.grande@hdhome.it>
This commit is contained in:
parent
b5b9e547c9
commit
f64dca16a7
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user