From 32b3bfe048e42f9df2d33e1ffee5142158ef8065 Mon Sep 17 00:00:00 2001 From: Gert-Jan Peeters Date: Wed, 25 Oct 2023 17:22:48 +0200 Subject: [PATCH] Added scheme to return path of the controller. --- server/src/definitions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/definitions.ts b/server/src/definitions.ts index 6508ee9..49d68c8 100644 --- a/server/src/definitions.ts +++ b/server/src/definitions.ts @@ -54,7 +54,7 @@ export class Definitions { } const controllers = this.controllers.filter((controller) => identifiers.includes(controller.identifier)) - const locations = controllers.map((controller) => Location.create(controller.path, Range.create(0, 0, 0, 0))) + const locations = controllers.map((controller) => Location.create(`file://${controller.path}`, Range.create(0, 0, 0, 0))) if (controllers.length === 1) return locations[0]