Skip to content

Commit 23e25d6

Browse files
committed
Rename the contextView parameter to context_view in _get_workspace_folder_items for consistency
1 parent e5bbb30 commit 23e25d6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/vscode/src/context/providers/workspace-provider.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,13 +578,13 @@ export class WorkspaceProvider
578578
}
579579

580580
private async _get_workspace_folder_items(
581-
contextView = false
581+
context_view = false
582582
): Promise<FileItem[]> {
583583
const items: FileItem[] = []
584584
for (let i = 0; i < this.workspace_roots.length; i++) {
585585
const root = this.workspace_roots[i]
586586

587-
if (contextView) {
587+
if (context_view) {
588588
const state = this.checked_items.get(root)
589589
const is_partially_checked = this.partially_checked_dirs.has(root)
590590
if (
@@ -619,7 +619,7 @@ export class WorkspaceProvider
619619
true // Is workspace root
620620
)
621621
)
622-
if (contextView) {
622+
if (context_view) {
623623
const last_item = items[items.length - 1]
624624
last_item.contextValue = 'contextWorkspaceRoot'
625625
}

0 commit comments

Comments
 (0)