Skip to content

Commit c647bb9

Browse files
fix: correct misspellings (occurred, environments, separator/separated)
- packages/bruno-electron/src/app/collection-watcher.js: "occured" -> "occurred" - packages/bruno-electron/src/ipc/preferences.js: "occured" -> "occurred", "environements" -> "environments" - packages/bruno-app/.../CollectionItem/StyledWrapper.js: ".item-seperator" / ".seperator" -> ".item-separator" / ".separator" (no other refs to these CSS class names exist in the repo) - packages/bruno-lang/v2/tests/list.spec.js: test description "list item are not seperated by atleast" -> "list items are not separated by at least" (29 tests still pass)
1 parent f8bf146 commit c647bb9

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/StyledWrapper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ const Wrapper = styled.div`
115115
background: #ccc3;
116116
}
117117
118-
&.item-seperator {
119-
.seperator {
118+
&.item-separator {
119+
.separator {
120120
bottom: 0px;
121121
position: absolute;
122122
height: 3px;

packages/bruno-electron/src/app/collection-watcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ const addDirectory = async (win, pathname, collectionUid, collectionPath) => {
403403
seq = folderData?.meta?.seq;
404404
}
405405
} catch (error) {
406-
console.error(`Error occured while parsing folder.${format} file`);
406+
console.error(`Error occurred while parsing folder.${format} file`);
407407
console.error(error);
408408
}
409409

packages/bruno-electron/src/ipc/preferences.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const registerPreferencesIpc = (mainWindow) => {
3737
activeGlobalEnvironmentUid = globalEnvironments?.find((env) => env?.uid == activeGlobalEnvironmentUid) ? activeGlobalEnvironmentUid : null;
3838
mainWindow.webContents.send('main:load-global-environments', { globalEnvironments, activeGlobalEnvironmentUid });
3939
} catch (error) {
40-
console.error('Error occured while fetching global environements!');
40+
console.error('Error occurred while fetching global environments!');
4141
console.error(error);
4242
}
4343

packages/bruno-lang/v2/tests/list.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ meta {
188188
expect(() => parser(input)).toThrow();
189189
});
190190

191-
it('should fail when list item are not seperated by atleast one newline', () => {
191+
it('should fail when two list items appear on the same line', () => {
192192
const input = `
193193
meta {
194194
tags: [

0 commit comments

Comments
 (0)