mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-29 15:44:13 +00:00
fix: fixed issue related to js files not being exported
This commit is contained in:
@@ -374,15 +374,15 @@ export const transformCollectionToSaveToExportAsFile = (collection, options = {}
|
||||
break;
|
||||
}
|
||||
|
||||
if (si.type === 'js') {
|
||||
di.fileContent = si.raw;
|
||||
}
|
||||
|
||||
if (di.request.body.mode === 'json') {
|
||||
di.request.body.json = replaceTabsWithSpaces(di.request.body.json);
|
||||
}
|
||||
}
|
||||
|
||||
if (si.type === 'js') {
|
||||
di.fileContent = si.raw;
|
||||
}
|
||||
|
||||
destItems.push(di);
|
||||
|
||||
if (si.items && si.items.length) {
|
||||
|
||||
Reference in New Issue
Block a user