mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-11 09:51:30 +00:00
fix: yml format registration on collection import (#6735)
This commit is contained in:
@@ -934,6 +934,7 @@ const registerRendererEventHandlers = (mainWindow, watcher) => {
|
||||
let brunoConfig = getBrunoJsonConfig(collection);
|
||||
|
||||
if (format === 'yml') {
|
||||
brunoConfig.opencollection = '1.0.0';
|
||||
const collectionContent = await stringifyCollection(collection.root, brunoConfig, { format });
|
||||
await writeFile(path.join(collectionPath, 'opencollection.yml'), collectionContent);
|
||||
} else if (format === 'bru') {
|
||||
|
||||
Reference in New Issue
Block a user