@@ -536,10 +536,10 @@ const registerRendererEventHandlers = (mainWindow, watcher, lastOpenedCollection
536
536
537
537
// If folder has a root element, then I should write its folder.bru file
538
538
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 ) ;
543
543
}
544
544
}
545
545
@@ -554,10 +554,10 @@ const registerRendererEventHandlers = (mainWindow, watcher, lastOpenedCollection
554
554
555
555
// If initial folder has a root element, then I should write its folder.bru file
556
556
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 ) ;
561
561
}
562
562
}
563
563
0 commit comments