Skip to content

Commit b50adba

Browse files
wesbillmanCarl
andcommitted
style(ci): format file-size entrypoints
Apply the pinned Biome layout to the symlink-aware direct-execution guards across Desktop, Web, and Mobile. Co-authored-by: Carl <9d00794d3df50972eb8b615511783cab12a77a8fd5dd5edd58073ec73b54bd8b@buzz.block.builderlab.xyz> Signed-off-by: Wes <[email protected]>
1 parent 46c902f commit b50adba

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

‎desktop/scripts/check-file-sizes.mjs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ export const policy = {
1313
label: "Desktop",
1414
};
1515

16-
if (process.argv[1] && realpathSync(path.resolve(process.argv[1])) === scriptPath) {
16+
if (
17+
process.argv[1] &&
18+
realpathSync(path.resolve(process.argv[1])) === scriptPath
19+
) {
1720
await runFileSizeCheck(policy);
1821
}

‎mobile/scripts/check-file-sizes.mjs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ export const policy = {
1313
label: "Mobile",
1414
};
1515

16-
if (process.argv[1] && realpathSync(path.resolve(process.argv[1])) === scriptPath) {
16+
if (
17+
process.argv[1] &&
18+
realpathSync(path.resolve(process.argv[1])) === scriptPath
19+
) {
1720
await runFileSizeCheck(policy);
1821
}

‎web/scripts/check-file-sizes.mjs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ export const policy = {
1313
label: "Web",
1414
};
1515

16-
if (process.argv[1] && realpathSync(path.resolve(process.argv[1])) === scriptPath) {
16+
if (
17+
process.argv[1] &&
18+
realpathSync(path.resolve(process.argv[1])) === scriptPath
19+
) {
1720
await runFileSizeCheck(policy);
1821
}

0 commit comments

Comments
 (0)