@@ -109,7 +109,7 @@ export async function cacheApk(this: ADB, apkPath: string, options: CachingOptio
109109 }
110110 if ( typeof lsOutput !== 'string' || ( lsOutput . includes ( errorMarker ) && ! lsOutput . includes ( REMOTE_CACHE_ROOT ) ) ) {
111111 if ( typeof this . _areExtendedLsOptionsSupported !== 'boolean' ) {
112- log . debug ( 'The current Android API does not support extended ls options. ' + ' Defaulting to no-options call') ;
112+ log . debug ( 'The current Android API does not support extended ls options. Defaulting to no-options call' ) ;
113113 }
114114 lsOutput = await this . shell ( [ `ls ${ REMOTE_CACHE_ROOT } 2>&1 || echo ${ errorMarker } ` ] ) ;
115115 this . _areExtendedLsOptionsSupported = false ;
@@ -349,7 +349,7 @@ export async function installOrUpgrade(
349349 if ( 'name' in apkInfo ) {
350350 pkg = apkInfo . name ;
351351 } else {
352- log . warn ( `Cannot determine the package name of '${ appPath } '. ` + ` Continuing with the install anyway`) ;
352+ log . warn ( `Cannot determine the package name of '${ appPath } '. Continuing with the install anyway` ) ;
353353 }
354354 }
355355
@@ -457,7 +457,7 @@ export async function extractStringsFromApk(
457457 apkStrings = parseAaptStrings ( stdout , configMarker ) ;
458458 } catch ( e ) {
459459 const err = e as ExecError ;
460- log . debug ( ' Cannot extract resources using aapt. Trying aapt2. ' + ` Original error: ${ err . stderr || err . message } `) ;
460+ log . debug ( ` Cannot extract resources using aapt. Trying aapt2. Original error: ${ err . stderr || err . message } `) ;
461461
462462 await this . initAapt2 ( ) ;
463463
@@ -475,7 +475,7 @@ export async function extractStringsFromApk(
475475 apkStrings = parseAapt2Strings ( stdout , configMarker ) ;
476476 } catch ( e ) {
477477 const error = e as Error ;
478- throw new Error ( `Cannot extract resources from '${ originalAppPath } '. ` + ` Original error: ${ error . message } `, {
478+ throw new Error ( `Cannot extract resources from '${ originalAppPath } '. Original error: ${ error . message } ` , {
479479 cause : e ,
480480 } ) ;
481481 }
@@ -748,7 +748,7 @@ async function formatConfigMarker(
748748 log . debug ( `Resource configurations: ${ JSON . stringify ( configs ) } ` ) ;
749749 // Assume the 'en' configuration is the default one
750750 if ( configMarker . toLowerCase ( ) . startsWith ( 'en' ) && ! configs . some ( ( x ) => x . trim ( ) === configMarker ) ) {
751- log . debug ( `Resource configuration name '${ configMarker } ' is unknown. ` + ` Replacing it with '${ defaultMarker } '`) ;
751+ log . debug ( `Resource configuration name '${ configMarker } ' is unknown. Replacing it with '${ defaultMarker } '` ) ;
752752 configMarker = defaultMarker ;
753753 } else {
754754 log . debug ( `Selected configuration: '${ configMarker } '` ) ;
0 commit comments