Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Fixed minor explorer tree view bug
Browse files Browse the repository at this point in the history
  • Loading branch information
haiyangToAI committed Apr 8, 2024
1 parent bbf82a8 commit 8c9439d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/needsExplorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export class NeedsExplorerProvider implements vscode.TreeDataProvider<vscode.Tre
let need_doc_path: string;
const needs_per_doc: NeedsPerDoc = {};
Object.values(needs_objects).forEach((nd) => {
need_doc_path = path.join(curr_src_dir, nd.docname, nd.doctype);
need_doc_path = path.join(curr_src_dir, nd.docname + nd.doctype);

if (all_files_path.indexOf(need_doc_path) === -1) {
all_files_path.push(need_doc_path);
Expand Down

0 comments on commit 8c9439d

Please sign in to comment.