File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -248,6 +248,7 @@ function readFrameStatsNumber(
248248 return Number . isFinite ( value ) ? value : null ;
249249}
250250
251+ // fallow-ignore-next-line complexity
251252function parseAndroidFrameSummary ( text : string ) : AndroidFrameSummary | undefined {
252253 const summaryText = text . split ( / \n P r o f i l e d a t a i n m s : \n / i) [ 0 ] ?? '' ;
253254 const totalFrameCount = matchSummaryInteger ( summaryText , 'Total frames rendered' ) ;
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ type NativeScrollView = {
8484 contentBlocks : FlowBlock [ ] ;
8585} ;
8686
87+ // fallow-ignore-next-line complexity
8788function inferHiddenScrollableContent ( params : {
8889 viewportRect : Rect ;
8990 visibleBlocks : FlowBlock [ ] ;
@@ -143,6 +144,7 @@ function inferMountedCoverageHiddenContent(
143144 return hiddenBefore || hiddenAfter ? { above : hiddenBefore , below : hiddenAfter } : null ;
144145}
145146
147+ // fallow-ignore-next-line complexity
146148function estimateScrollOffset (
147149 nativeBlocks : FlowBlock [ ] ,
148150 visibleBlocks : FlowBlock [ ] ,
@@ -329,6 +331,7 @@ function matchNativeScrollView(
329331 return best ;
330332}
331333
334+ // fallow-ignore-next-line complexity
332335function parseActivityTopViewTree ( dump : string ) : ViewNode | null {
333336 const root : ViewNode = {
334337 className : 'root' ,
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ async function materializeLocalSource(
111111 }
112112}
113113
114+ // fallow-ignore-next-line complexity
114115async function downloadToTempFile (
115116 tempDir : string ,
116117 url : string ,
@@ -261,6 +262,7 @@ export function isBlockedIpAddress(address: string): boolean {
261262 return false ;
262263}
263264
265+ // fallow-ignore-next-line complexity
264266function isBlockedIpv4 ( address : string ) : boolean {
265267 const octets = address . split ( '.' ) . map ( ( part ) => Number . parseInt ( part , 10 ) ) ;
266268 if ( octets . length !== 4 || octets . some ( ( part ) => Number . isNaN ( part ) || part < 0 || part > 255 ) ) {
@@ -284,6 +286,7 @@ function isBlockedIpv6(address: string): boolean {
284286 return false ;
285287}
286288
289+ // fallow-ignore-next-line complexity
287290async function resolveInstallableCandidate (
288291 candidatePath : string ,
289292 params : {
@@ -356,7 +359,7 @@ async function resolveInstallableCandidate(
356359 params . registerCleanup ( extracted . cleanup ) ;
357360 return await resolveInstallableCandidate ( extracted . outputPath , {
358361 ...params ,
359- archivePath : params . archivePath ?? archives [ 0 ] ,
362+ archivePath : params . archivePath ?? archive ,
360363 } ) ;
361364 }
362365 if ( archives . length > 1 ) {
You can’t perform that action at this time.
0 commit comments