@@ -208,15 +208,18 @@ const makeHarness = Effect.fn("test.makeAntigravityInstallation")(function* (
208208 Effect . suspend ( ( ) => {
209209 requests . push ( request . url ) ;
210210 if ( request . url === ACP_REGISTRY_URL ) {
211- return Effect . succeed ( HttpClientResponse . fromWeb (
212- request ,
213- options . registry === undefined
214- ? new Response ( null , { status : 503 } )
215- : Response . json ( options . registry ) ,
216- ) ) ;
211+ return Effect . succeed (
212+ HttpClientResponse . fromWeb (
213+ request ,
214+ options . registry === undefined
215+ ? new Response ( null , { status : 503 } )
216+ : Response . json ( options . registry ) ,
217+ ) ,
218+ ) ;
217219 }
218220 const served = options . archives ?. [ request . url ] ;
219- if ( served ) return Effect . succeed ( HttpClientResponse . fromWeb ( request , new Response ( served ) ) ) ;
221+ if ( served )
222+ return Effect . succeed ( HttpClientResponse . fromWeb ( request , new Response ( served ) ) ) ;
220223 if ( options . connectTimeout ) {
221224 return Effect . fail (
222225 new HttpClientError . HttpClientError ( {
@@ -827,8 +830,8 @@ it.layer(Layer.mergeAll(NodeServices.layer, NodeCrypto.layer))("Antigravity inst
827830 } ) ;
828831
829832 const { installation : windows } = yield * makeHarness ( { baseDir, platform : "win32" } ) ;
830- for ( const name of [ "agy.EXE" , "agy.cmd " ] ) {
831- const windowsDirectory = path . join ( baseDir , `windows-${ name } - ${ name === name . toLowerCase ( ) ? "lower" : "upper" } ` ) ;
833+ for ( const name of [ "agy.EXE" , "agy.CMD " ] ) {
834+ const windowsDirectory = path . join ( baseDir , `windows-${ name } ` ) ;
832835 yield * fs . makeDirectory ( windowsDirectory ) ;
833836 yield * fs . writeFileString ( path . join ( windowsDirectory , name ) , "cli" ) ;
834837 expect ( yield * windows . resolve ( "agy" , { PATH : windowsDirectory } ) ) . toMatchObject ( {
0 commit comments