From 57201b124cfbeb8bfd6794a8b1b2b38c01240b8a Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Mon, 20 Nov 2023 17:02:16 -0800 Subject: [PATCH] chore: fix lint --- src/index.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index 665a88a..a0bd4f7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -186,11 +186,15 @@ export const makeUniversalApp = async (opts: MakeUniversalOpts): Promise = path.resolve(opts.arm64AppPath, 'Contents', 'Resources', 'app'), { compareSize: true, compareContent: true }, ); - const differences = comparison.diffSet! - .filter(difference => difference.state !== "equal") + const differences = comparison.diffSet!.filter((difference) => difference.state !== 'equal'); d(`Found ${differences.length} difference(s) between the x64 and arm64 folders`); - const nonMergedDifferences = differences - .filter(difference => !difference.name1 || !knownMergedMachOFiles.has(path.join('Contents', 'Resources', 'app', difference.relativePath, difference.name1))) + const nonMergedDifferences = differences.filter( + (difference) => + !difference.name1 || + !knownMergedMachOFiles.has( + path.join('Contents', 'Resources', 'app', difference.relativePath, difference.name1), + ), + ); d(`After discluding MachO files merged with lipo ${nonMergedDifferences.length} remain.`); if (nonMergedDifferences.length > 0) {