File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
packages/cursorless-vscode/src Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -183,21 +183,21 @@ async function openResultDocument(
183183 "" ,
184184 ] ;
185185
186- if ( migratedPartiallyKeys . length > 0 ) {
186+ if ( result . skipped . length > 0 ) {
187187 content . push (
188- `## Migrated ${ migratedPartiallyKeys . length } snippet files partially:` ,
189- ...migratedPartiallyKeys . map (
190- ( key ) => `- ${ key } -> ${ result . migratedPartially [ key ] } ` ,
191- ) ,
188+ `## Skipped ${ result . skipped . length } snippet files:` ,
189+ ...result . skipped . map ( ( key ) => `- ${ key } ` ) ,
192190 skipMessage ,
193191 "" ,
194192 ) ;
195193 }
196194
197- if ( result . skipped . length > 0 ) {
195+ if ( migratedPartiallyKeys . length > 0 ) {
198196 content . push (
199- `## Skipped ${ result . skipped . length } snippet files:` ,
200- ...result . skipped . map ( ( key ) => `- ${ key } ` ) ,
197+ `## Migrated ${ migratedPartiallyKeys . length } snippet files partially:` ,
198+ ...migratedPartiallyKeys . map (
199+ ( key ) => `- ${ key } -> ${ result . migratedPartially [ key ] } ` ,
200+ ) ,
201201 skipMessage ,
202202 "" ,
203203 ) ;
You can’t perform that action at this time.
0 commit comments