Skip to content

Commit

Permalink
fix terminal suggest dir bug (#234462)
Browse files Browse the repository at this point in the history
fix dir bug
  • Loading branch information
meganrogge authored Nov 23, 2024
1 parent 7bbad41 commit 1ea7d32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export class TerminalCompletionService extends Disposable implements ITerminalCo
continue;
}

const label = prefix + stat.resource.fsPath.replace(cwd.fsPath, '');
const label = prefix + stat.resource.fsPath.replace(dir.fsPath, '');
resourceCompletions.push({
label,
kind,
Expand Down

0 comments on commit 1ea7d32

Please sign in to comment.