Skip to content

Commit

Permalink
fix progress explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
belane committed Mar 16, 2024
1 parent 4e476bd commit 3cbb62f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "code-auditor",
"displayName": "CodeAuditor",
"description": "Code Auditor Notebook",
"version": "0.3.6",
"version": "0.3.7",
"publisher": "red4sec",
"icon": "resources/code-auditor.png",
"readme": "README.md",
Expand Down
4 changes: 4 additions & 0 deletions src/components/progress_tree/ProgressTreeProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ export class ProgressTreeProvider implements vscode.TreeDataProvider<ProgressNod
let current_path = projectRoot;
for (const p of paths) {
current_path = vscode.Uri.parse(current_path + sep + p).toString(true);
// TODO: Temp fix for new VSCode URI
if(current_path.startsWith("file://")) {
current_path = current_path.slice(7);
}
if (this.items[current_path] && this.items[current_path].type == vscode.FileType.Directory) {
await this.getChildren(this.items[current_path]);
} else {
Expand Down

0 comments on commit 3cbb62f

Please sign in to comment.