@@ -10,21 +10,17 @@ export async function setupAction(): Promise<void> {
1010 const expoVersion = await installCli ( 'expo-cli' ) ;
1111 const easVersion = await installCli ( 'eas-cli' ) ;
1212
13- await group (
14- 'Checking current authenticated account' ,
15- ( ) => tools . maybeAuthenticate ( {
13+ await group ( 'Checking current authenticated account' , ( ) =>
14+ tools . maybeAuthenticate ( {
1615 cli : expoVersion ? 'expo-cli' : easVersion ? 'eas-cli' : undefined ,
1716 token : getInput ( 'token' ) || undefined ,
1817 username : getInput ( 'username' ) || undefined ,
1918 password : getInput ( 'password' ) || undefined ,
20- } ) ,
19+ } )
2120 ) ;
2221
2322 if ( tools . getBoolean ( getInput ( 'patch-watchers' ) , true ) ) {
24- await group (
25- 'Patching system watchers for the `ENOSPC` error' ,
26- ( ) => tools . maybePatchWatchers ( ) ,
27- ) ;
23+ await group ( 'Patching system watchers for the `ENOSPC` error' , ( ) => tools . maybePatchWatchers ( ) ) ;
2824 }
2925}
3026
@@ -45,11 +41,14 @@ async function installCli(name: tools.PackageName): Promise<string | void> {
4541 cache
4642 ? `Installing ${ name } (${ version } ) from cache or with ${ packager } `
4743 : `Installing ${ name } (${ version } ) with ${ packager } ` ,
48- ( ) => install ( {
49- packager, version, cache,
50- package : name ,
51- cacheKey : getInput ( `${ shortName } -cache-key` ) || undefined ,
52- } ) ,
44+ ( ) =>
45+ install ( {
46+ packager,
47+ version,
48+ cache,
49+ package : name ,
50+ cacheKey : getInput ( `${ shortName } -cache-key` ) || undefined ,
51+ } )
5352 ) ;
5453
5554 addPath ( path ) ;
0 commit comments