Skip to content

Commit 41fb595

Browse files
committed
Address review comments
Refactor wheel processing, simplify deploy/* checks, drop unused cases, and sort inserts/packages for consistent output
1 parent 2504757 commit 41fb595

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/briefcase/platforms/web/static.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def _write_inserts(self, app: AppConfig, filename: Path, inserts: dict):
160160
return
161161

162162
# Each insert slot may have multiple package contributions
163-
for insert, packages in inserts.items():
163+
for insert, packages in sorted(inserts.items()):
164164
html_banner = (
165165
"<!--------------------------------------------------\n"
166166
" * {package}\n"
@@ -515,7 +515,7 @@ def build_app(self, app: AppConfig, **kwargs):
515515
)
516516

517517
# Write inserts per target
518-
for target, target_inserts in inserts.items():
518+
for target, target_inserts in sorted(inserts.items()):
519519
self._write_inserts(app, Path(target), target_inserts)
520520

521521
return {}

0 commit comments

Comments
 (0)