mirror of
https://github.com/usebruno/bruno.git
synced 2025-06-21 12:33:34 +02:00
fix: fixed issue related to js files not being exported
This commit is contained in:
parent
4f115b06fb
commit
f05389ca72
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user