@@ -290,30 +290,28 @@ async function main() {
290290 console . log ( '─' . repeat ( 40 ) ) ;
291291 console . log ( 'MISSING IMAGES:\n' ) ;
292292 missingIssues . forEach ( ( { file, line, imagePath } ) => {
293- console . log ( ` 📄 ${ file } :${ line } ` ) ;
294- console . log ( ` ${ imagePath } \n` ) ;
293+ console . log ( ` 📄 ${ file } :${ line } → ${ imagePath } ` ) ;
295294 } ) ;
295+ console . log ( '' ) ;
296296 }
297297
298298 if ( locationIssues . length > 0 ) {
299299 console . log ( '─' . repeat ( 40 ) ) ;
300300 console . log ( 'MISPLACED IMAGES:\n' ) ;
301301 locationIssues . forEach ( ( { file, line, imagePath, expectedDir, actualDir } ) => {
302- console . log ( ` 📄 ${ file } :${ line } ` ) ;
303- console . log ( ` ${ imagePath } ` ) ;
304- console . log ( ` Expected: ${ expectedDir } /` ) ;
305- console . log ( ` Actual: ${ actualDir } /\n` ) ;
302+ console . log ( ` 📄 ${ file } :${ line } → ${ imagePath } ` ) ;
303+ console . log ( ` Expected: ${ expectedDir } / | Actual: ${ actualDir } /` ) ;
306304 } ) ;
305+ console . log ( '' ) ;
307306 }
308307
309308 if ( typeIssues . length > 0 ) {
310309 console . log ( '─' . repeat ( 40 ) ) ;
311310 console . log ( 'INVALID FILE TYPES:\n' ) ;
312311 typeIssues . forEach ( ( { file, line, imagePath, message } ) => {
313- console . log ( ` 📄 ${ file } :${ line } ` ) ;
314- console . log ( ` ${ imagePath } ` ) ;
315- console . log ( ` ${ message } \n` ) ;
312+ console . log ( ` 📄 ${ file } :${ line } → ${ imagePath } (${ message } )` ) ;
316313 } ) ;
314+ console . log ( '' ) ;
317315 }
318316 }
319317
0 commit comments