File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export function resolveGrid3CellImage(
5959
6060 // Debug logging for cells that fail to resolve
6161 const shouldDebug = imageName ?. startsWith ( '-' ) && x !== undefined && y !== undefined ;
62- const debugLog = ( msg : string ) => {
62+ const debugLog = ( msg : string ) : void => {
6363 if ( shouldDebug ) {
6464 console . log ( `[Resolver] ${ baseDir } (${ x } ,${ y } ) "${ imageName } ": ${ msg } ` ) ;
6565 }
Original file line number Diff line number Diff line change @@ -1058,9 +1058,13 @@ class GridsetProcessor extends BaseProcessor {
10581058
10591059 // Debug: log resolution for cells with images
10601060 if ( declaredImageName && resolvedImageEntry ) {
1061- console . log ( `[GridsetProcessor] Cell (${ cellX + 1 } ,${ cellY + 1 } ) [XML coords]: ${ declaredImageName } -> ${ resolvedImageEntry } ` ) ;
1061+ console . log (
1062+ `[GridsetProcessor] Cell (${ cellX + 1 } ,${ cellY + 1 } ) [XML coords]: ${ declaredImageName } -> ${ resolvedImageEntry } `
1063+ ) ;
10621064 } else if ( declaredImageName && ! resolvedImageEntry ) {
1063- console . log ( `[GridsetProcessor] Cell (${ cellX + 1 } ,${ cellY + 1 } ) [XML coords]: ${ declaredImageName } -> NOT FOUND` ) ;
1065+ console . log (
1066+ `[GridsetProcessor] Cell (${ cellX + 1 } ,${ cellY + 1 } ) [XML coords]: ${ declaredImageName } -> NOT FOUND`
1067+ ) ;
10641068 }
10651069
10661070 // Check if image is a symbol library reference
Original file line number Diff line number Diff line change 66 */
77
88import { GridsetProcessor } from '../src/processors/gridsetProcessor' ;
9- import { resolveGrid3CellImage } from '../src/processors/gridset/resolver' ;
109import path from 'node:path' ;
1110
1211interface AuditResult {
@@ -44,7 +43,6 @@ async function auditGridsetImages(gridsetPath: string): Promise<AuditResult> {
4443
4544 // Get all entries from the ZIP for manual inspection
4645 // We need to access the internal ZIP entries
47- const fs = await import ( 'node:fs' ) ;
4846 const AdmZip = ( await import ( 'adm-zip' ) ) . default ;
4947 const zip = new AdmZip ( gridsetPath ) ;
5048 const allEntries = zip . getEntries ( ) . map ( ( e : any ) => e . entryName ) ;
You can’t perform that action at this time.
0 commit comments