@@ -24,7 +24,7 @@ async function runCheck() {
2424 }
2525 const content = await response . text ( )
2626 scripts . push ( { url, content } )
27- console . log ( `Captured script: ${ url } ` )
27+ console . log ( `Captured script: < ${ url } >. ` )
2828 } )
2929
3030 try {
@@ -48,10 +48,13 @@ async function runCheck() {
4848 }
4949
5050 await page . waitForLoadState ( 'load' )
51- console . log ( `Page loaded at ${ page . url ( ) } .` )
51+ console . log ( `Page loaded at < ${ page . url ( ) } > .` )
5252
53+ console . log (
54+ `Navigating to the design file: <https://www.figma.com/design/${ process . env . FIGMA_FILE_KEY } >`
55+ )
5356 await page . goto ( `https://www.figma.com/design/${ process . env . FIGMA_FILE_KEY } ` )
54- console . log ( `Page loaded at ${ page . url ( ) } .` )
57+ console . log ( `Page loaded at < ${ page . url ( ) } > .` )
5558
5659 let matched : string | null = null
5760 let rewritable = false
@@ -62,10 +65,10 @@ async function runCheck() {
6265 continue
6366 }
6467 matched = url
65- console . log ( `Matched script: ${ url } ` )
68+ console . log ( `Matched script: < ${ url } >. ` )
6669 if ( r ) {
6770 rewritable = true
68- console . log ( `Rewritable script: ${ url } ` )
71+ console . log ( `Rewritable script: < ${ url } >. ` )
6972 break
7073 }
7174 }
@@ -75,7 +78,7 @@ async function runCheck() {
7578 return false
7679 }
7780
78- console . log ( `✅ Matched script: ${ matched } ` )
81+ console . log ( `✅ Matched script: < ${ matched } >. ` )
7982
8083 if ( ! rewritable ) {
8184 console . log ( '❌ Rewrite pattern not found.' )
0 commit comments