code-connect icon indicating copy to clipboard operation
code-connect copied to clipboard

`source` field incorrect in debug logs

Open loliver opened this issue 1 year ago • 0 comments

When looking at the --debug output I noticed that the source field under fileKeyToNodeIds section was incorrect.

An example as follows:

"source": "https///github.com/organisation/repo/tree/master/packages/tooltip/dist/index.d.ts",

Which should be:

"source": "https://github.com/organisation/repo/tree/main/packages/tooltip/dist/index.d.ts",

Or if it should be pointing to the actual source of the component:

"source": "https://github.com/organisation/repo/tree/main/packages/tooltip/src/Tooltip.tsx",

Is there any way to specify various sections of that field so it resolves correctly? Is it used for anything at the moment or is it just metadata?

Code Connect is incredible functionality and I'm excited to see where it can go, thanks all for your hard work!

loliver avatar May 02 '24 04:05 loliver