aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/devCompanion.dev.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/devCompanion.dev.tsx b/src/plugins/devCompanion.dev.tsx
index 5c3c58e..b9a7e4d 100644
--- a/src/plugins/devCompanion.dev.tsx
+++ b/src/plugins/devCompanion.dev.tsx
@@ -158,7 +158,8 @@ function initWs(isManual = false) {
if (keys.length !== 1)
return reply("Expected exactly one 'find' matches, found " + keys.length);
- let src = String(candidates[keys[0]]);
+ const mod = candidates[keys[0]];
+ let src = String(mod.original ?? mod);
let i = 0;