Skip to content

Commit 5f127f4

Browse files
Copiloteleanorjboyd
andcommitted
Remove file icon from Python projects that are single files
Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
1 parent f5e9546 commit 5f127f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/views/treeViewItems.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export class ProjectItem implements ProjectTreeItem {
232232
item.description = this.project.description;
233233
item.tooltip = this.project.tooltip;
234234
item.resourceUri = project.uri.fsPath.endsWith('.py') ? this.project.uri : undefined;
235-
item.iconPath = this.project.iconPath ?? (project.uri.fsPath.endsWith('.py') ? ThemeIcon.File : undefined);
235+
item.iconPath = this.project.iconPath;
236236
this.treeItem = item;
237237
}
238238

0 commit comments

Comments
 (0)