Skip to content

Commit f4409b0

Browse files
authored
Use correct document path for call hierarchy (#11178)
1 parent c4e55ec commit f4409b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugin-ext-vscode/src/browser/plugin-vscode-commands-contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ export class PluginVscodeCommandsContribution implements CommandContribution {
599599
execute: async (resource: URI, position: Position): Promise<CallHierarchyItem[]> => {
600600
const provider = await this.getCallHierarchyServiceForUri(resource);
601601
const definition = await provider?.getRootDefinition(
602-
resource.fsPath,
602+
resource.path,
603603
toPosition(position),
604604
new CancellationTokenSource().token
605605
);

0 commit comments

Comments
 (0)