Skip to content

Commit

Permalink
fix: Collection being changed during import
Browse files Browse the repository at this point in the history
The collection name was changed to the sanitized directory, but the
collection name is saved in the bruno.json where it does not need
to be sanitized

Fixes:
- usebruno#1651
- usebruno#219
  • Loading branch information
Its-treason committed Mar 14, 2024
1 parent eb638db commit 0e5ccaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bruno-electron/src/ipc/collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ const registerRendererEventHandlers = (mainWindow, watcher, lastOpenedCollection
const uid = generateUidBasedOnHash(collectionPath);
const brunoConfig = {
version: '1',
name: collectionName,
name: collection.name,
type: 'collection',
ignore: ['node_modules', '.git']
};
Expand Down

0 comments on commit 0e5ccaf

Please sign in to comment.