Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
phillco authored Jan 30, 2025
1 parent 0d0981b commit 07fedc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/cursorless-vscode/src/migrateSnippets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@ async function openResultDocument(
`From: ${sourceDirectory}`,
`To: ${targetDirectory}`,
"",
`## Migrated ${migratedKeys.length} snippet files`,
`## Migrated ${migratedKeys.length} snippet files:`,
...migratedKeys.map((key) => `- ${key} -> ${result.migrated[key]}`),
"",
];

if (migratedPartiallyKeys.length > 0) {
content.push(
`## Migrated ${migratedPartiallyKeys.length} snippet files partially`,
`## Migrated ${migratedPartiallyKeys.length} snippet files partially:`,
skipMessage,
...migratedPartiallyKeys.map(
(key) => `- ${key} -> ${result.migratedPartially[key]}`,
Expand All @@ -182,7 +182,7 @@ async function openResultDocument(

if (result.skipped.length > 0) {
content.push(
`## Skipped ${result.skipped.length} snippet files`,
`## Skipped ${result.skipped.length} snippet files:`,
skipMessage,
...result.skipped.map((key) => `- ${key}`),
);
Expand Down

0 comments on commit 07fedc4

Please sign in to comment.