We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66cde5b commit 4f70ed4Copy full SHA for 4f70ed4
app/composables/useCompareReplacements.ts
@@ -52,9 +52,7 @@ export function useCompareReplacements(packageNames: MaybeRefOrGetter<string[]>)
52
const newReplacements = new Map(replacements.value)
53
for (const result of results) {
54
if (result.failed) continue
55
-
56
- const { name, replacement } = result
57
- newReplacements.set(name, replacement)
+ newReplacements.set(result.name, result.replacement)
58
}
59
replacements.value = newReplacements
60
} finally {
0 commit comments