Skip to content

Commit 1bcc8e7

Browse files
committed
chore: keep fallow baseline for strictness changes
1 parent c8c7e7d commit 1bcc8e7

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

src/platforms/android/perf-frame-parser.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ function readFrameStatsNumber(
248248
return Number.isFinite(value) ? value : null;
249249
}
250250

251+
// fallow-ignore-next-line complexity
251252
function parseAndroidFrameSummary(text: string): AndroidFrameSummary | undefined {
252253
const summaryText = text.split(/\nProfile data in ms:\n/i)[0] ?? '';
253254
const totalFrameCount = matchSummaryInteger(summaryText, 'Total frames rendered');

src/platforms/android/scroll-hints.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ type NativeScrollView = {
8484
contentBlocks: FlowBlock[];
8585
};
8686

87+
// fallow-ignore-next-line complexity
8788
function 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
146148
function estimateScrollOffset(
147149
nativeBlocks: FlowBlock[],
148150
visibleBlocks: FlowBlock[],
@@ -329,6 +331,7 @@ function matchNativeScrollView(
329331
return best;
330332
}
331333

334+
// fallow-ignore-next-line complexity
332335
function parseActivityTopViewTree(dump: string): ViewNode | null {
333336
const root: ViewNode = {
334337
className: 'root',

src/platforms/install-source.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ async function materializeLocalSource(
111111
}
112112
}
113113

114+
// fallow-ignore-next-line complexity
114115
async 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
264266
function 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
287290
async 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) {

0 commit comments

Comments
 (0)