@@ -205,7 +205,12 @@ describe.sequential('dlx', () => {
205205
206206 describe ( 'isInSocketDlx' , ( ) => {
207207 it ( 'should return true for paths within DLX directory' , ( ) => {
208- const dlxPath = path . join ( getSocketDlxDir ( ) , 'some-package' , 'bin' , 'binary' )
208+ const dlxPath = path . join (
209+ getSocketDlxDir ( ) ,
210+ 'some-package' ,
211+ 'bin' ,
212+ 'binary' ,
213+ )
209214 expect ( isInSocketDlx ( dlxPath ) ) . toBe ( true )
210215 } )
211216
@@ -360,7 +365,6 @@ describe.sequential('dlx', () => {
360365
361366 it ( 'should not throw when DLX directory does not exist' , async ( ) => {
362367 // Ensure directory doesn't exist
363- const dlxDir = getSocketDlxDir ( )
364368 if ( fs . existsSync ( getSocketDlxDir ( ) ) ) {
365369 fs . rmSync ( getSocketDlxDir ( ) , { recursive : true , force : true } )
366370 }
@@ -387,7 +391,6 @@ describe.sequential('dlx', () => {
387391
388392 it ( 'sync version should not throw when DLX directory does not exist' , ( ) => {
389393 // Ensure directory doesn't exist
390- const dlxDir = getSocketDlxDir ( )
391394 if ( fs . existsSync ( getSocketDlxDir ( ) ) ) {
392395 fs . rmSync ( getSocketDlxDir ( ) , { recursive : true , force : true } )
393396 }
0 commit comments