fix(sv-utils): dedupe re-homed comments at attach time#1154
Conversation
Drop one positional copy from the original list when a comment is attached to a node, so esrap doesn't emit it from both channels.
|
manuel3108
left a comment
There was a problem hiding this comment.
I'm not seeing any change in the pkg.svelte.dev repo.
Running pnpx --config.block-exotic-subdeps=false https://pkg.svelte.dev/sv/c/f6db281 migrate
still changes src/lib/github.ts by duplicating comments.
Since the repo is not public, i wont share too much code, but i think this should make it reproducable.
export async function list_recent_pulls(
opts: {
/**
* Octokit to authenticate the REST call. Pass an
* `octokit_for_user(...)` instance from a remote function so the
* request counts against the user's GitHub budget, not the
* App-installation budget.
*/
octokit: Octokit;
owner: string;
repo: string;
per_page?: number;
page?: number
}
): Promise<PullSummary[]> { /* ... */ }
No description provided.