mirror of
https://github.com/usebruno/bruno.git
synced 2025-04-02 19:46:17 +02: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 folder has a root element, then I should write its folder.bru file
|
||||||
if (item.root) {
|
if (item.root) {
|
||||||
const _folderContent = jsonToCollectionBru(item.root, true);
|
const folderContent = jsonToCollectionBru(item.root, true);
|
||||||
if (_folderContent) {
|
if (folderContent) {
|
||||||
const _folderPath = path.join(folderPath, `folder.bru`);
|
const bruFolderPath = path.join(folderPath, `folder.bru`);
|
||||||
fs.writeFileSync(_folderPath, _folderContent);
|
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 initial folder has a root element, then I should write its folder.bru file
|
||||||
if (itemFolder.root) {
|
if (itemFolder.root) {
|
||||||
const _folderContent = jsonToCollectionBru(itemFolder.root, true);
|
const folderContent = jsonToCollectionBru(itemFolder.root, true);
|
||||||
if (_folderContent) {
|
if (folderContent) {
|
||||||
const _folderPath = path.join(collectionPath, `folder.bru`);
|
const bruFolderPath = path.join(collectionPath, `folder.bru`);
|
||||||
fs.writeFileSync(_folderPath, _folderContent);
|
fs.writeFileSync(bruFolderPath, folderContent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user